Raw.messages.SendBotRequestedPeer

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.TypeInputPeer

    The bot that sent the keyboardbuttonrequestpeer button.

  • msgId : number

    Id of the message that contained the reply keyboard with the keyboardbuttonrequestpeer button.

  • buttonId : number

    The buttonId field from the keyboardbuttonrequestpeer constructor.

  • requestedPeers : Array of Raw.TypeInputPeer

    The chosen peers.

Results

Raw.TypeUpdates