Raw.account.ToggleConnectedBotPaused
Pause or unpause a specific chat, temporarily disconnecting it from all business bots.
account.toggleConnectedBotPaused#646e1097 peer:InputPeer paused:Bool = Bool;
export namespace Raw {
export namespace account {
export class ToggleConnectedBotPaused {
constructor(params: { peer: Raw.TypeInputPeer; paused: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x646e1097
Property
peer
: Raw.TypeInputPeerThe chat to pause
paused
: booleanWhether to pause or unpause the chat