Info about a peer, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
Constructor | Description |
---|---|
requestedPeerUser | Info about a user, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer. All fields except the ID are optional, and will be populated if present on the chosen user, according to the parameters of the requesting inputKeyboardButtonRequestPeer. |
requestedPeerChat | Info about a chat, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer. All fields except the ID are optional, and will be populated if present on the chosen chat, according to the parameters of the requesting inputKeyboardButtonRequestPeer. |
requestedPeerChannel | Info about a channel/supergroup, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer. All fields except the ID are optional, and will be populated if present on the chosen channel/supergroup, according to the parameters of the requesting inputKeyboardButtonRequestPeer. |
Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.