telegram api constructor · layer 229 · #339bef6c

requestPeerTypeBroadcast

Choose a channel

definition

requestPeerTypeBroadcast#339bef6c flags:# creator:flags.0?true has_username:flags.3?Bool user_admin_rights:flags.1?ChatAdminRights bot_admin_rights:flags.2?ChatAdminRights = RequestPeerType;

parameters

nametypedescription
flags#Flags, see TL conditional fields
creatorflags.0?trueWhether to allow only choosing channels that were created by the current user.
has_usernameflags.3?BoolIf specified, allows only choosing channels with or without a username, according to the value of Bool.
user_admin_rightsflags.1?ChatAdminRightsIf specified, allows only choosing channels where the current user is an admin with at least the specified admin rights.
bot_admin_rightsflags.2?ChatAdminRightsIf specified, allows only choosing channels where the bot is an admin with at least the specified admin rights.

type

RequestPeerType · other constructors: requestPeerTypeUser, requestPeerTypeChat, requestPeerTypeCreateBot

history

present in layers 152–229

idlayers
#339bef6c152–229