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

Function ApplyChannelUpdate

Telegram/SourceFiles/data/data_channel.cpp:1251–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1249}
1250
1251void ApplyChannelUpdate(
1252 not_null<ChannelData*> channel,
1253 const MTPDupdateChatDefaultBannedRights &update) {
1254 channel->setDefaultRestrictions(ChatRestrictionsInfo(
1255 update.vdefault_banned_rights()).flags);
1256}
1257
1258void ApplyChannelUpdate(
1259 not_null<ChannelData*> channel,

Callers 2

gotChatFullMethod · 0.85
applyUpdateMethod · 0.85

Calls 15

peerFromMTPFunction · 0.85
ApplyMigrationFunction · 0.85
qsFunction · 0.85
SetTopPinnedMessageIdFunction · 0.85
ParseBotVerifyDetailsFunction · 0.85
PeerIdClass · 0.85
setSuggestToGigagroupMethod · 0.80
setAvailableMinIdMethod · 0.80
canViewAdminsMethod · 0.80
canViewMembersMethod · 0.80
canEditStickersMethod · 0.80
setMessagesTTLMethod · 0.80

Tested by

no test coverage detected