Raw.messages.SendBotRequestedPeer
Send one or more chosen peers, as requested by a keyboardbuttonrequestpeer button.
messages.sendBotRequestedPeer#91b2d060 peer:InputPeer msg_id:int button_id:int requested_peers:Vector<InputPeer> = Updates;
export namespace Raw {
export namespace messages {
export class SendBotRequestedPeer {
constructor(params: {
peer: Raw.TypeInputPeer;
msgId: number;
buttonId: number;
requestedPeers: Array<Raw.TypeInputPeer>;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x91b2d060
Property
peer
: Raw.TypeInputPeerThe bot that sent the keyboardbuttonrequestpeer button.
msgId
: numberId of the message that contained the reply keyboard with the keyboardbuttonrequestpeer button.
buttonId
: numberThe buttonId field from the keyboardbuttonrequestpeer constructor.
requestedPeers
: Array of Raw.TypeInputPeerThe chosen peers.