RequestedPeerChannel#

class pyrogram.raw.types.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.

Constructor of RequestedPeer.

Details:
  • Layer: 211

  • ID: 8BA403E4

Parameters:
channel_id (int 64-bit):

Channel/supergroup ID.

title (str, optional):

Channel/supergroup title.

username (str, optional):

Channel/supergroup username.

photo (Photo, optional):

Channel/supergroup photo.