Raw.messages.TogglePeerTranslations
Show or hide the real-time chat translation popup for a certain chat
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
export namespace Raw {
export namespace messages {
export class TogglePeerTranslations {
constructor(params: { disabled?: boolean; peer: Raw.TypeInputPeer }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xe47cb579
Property
disabled
: boolean or undefinedWhether to disable or enable the real-time chat translation popup
peer
: Raw.TypeInputPeerThe peer