Raw.messages.EditChatDefaultBannedRights
Edit the default banned rights of a channel/supergroup/group.
messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates;export namespace Raw {
export namespace messages {
export class EditChatDefaultBannedRights {
constructor(params: { peer: Raw.TypeInputPeer; bannedRights: Raw.TypeChatBannedRights }) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0xa5866b41
Property
peer: Raw.TypeInputPeerThe peer
bannedRights: Raw.TypeChatBannedRightsThe new global rights