MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / ParseBotVerifyDetails

Function ParseBotVerifyDetails

Telegram/SourceFiles/data/data_user.cpp:1092–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1090}
1091
1092Ui::BotVerifyDetails ParseBotVerifyDetails(const MTPBotVerification *info) {
1093 if (!info) {
1094 return {};
1095 }
1096 const auto &data = info->data();
1097 const auto description = qs(data.vdescription());
1098 const auto flags = TextParseLinks;
1099 return {
1100 .botId = UserId(data.vbot_id().v),
1101 .iconId = DocumentId(data.vicon().v),
1102 .description = TextUtilities::ParseEntities(description, flags),
1103 };
1104}
1105
1106} // namespace Data

Callers 2

ApplyChannelUpdateFunction · 0.85
ApplyUserUpdateFunction · 0.85

Calls 3

qsFunction · 0.85
UserIdClass · 0.70
dataMethod · 0.45

Tested by

no test coverage detected