Raw.messages.SaveDefaultSendAs
Change the default peer that should be used when sending messages, reactions, poll votes to a specific group
messages.saveDefaultSendAs#ccfddf96 peer:InputPeer send_as:InputPeer = Bool;
export namespace Raw {
export namespace messages {
export class SaveDefaultSendAs {
constructor(params: { peer: Raw.TypeInputPeer; sendAs: Raw.TypeInputPeer }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xccfddf96
Property
peer
: Raw.TypeInputPeerGroup
sendAs
: Raw.TypeInputPeerThe default peer that should be used when sending messages to the group