Skip to main content

requestPeerTypeBroadcast

Choose a channel

type tg.RequestPeerTypeBroadcast struct { /* ... */ }

Implements RequestPeerType.

Fields​

NameTypeRequiredDescription
Creatorbool—Whether to allow only choosing channels that were created by the current user.
HasUsernamebool—If specified, allows only choosing channels with or without a username, according to the value of Bool.
UserAdminRightsChatAdminRights—If specified, allows only choosing channels where the current user is an admin with at least the specified admin rights.
BotAdminRightsChatAdminRights—If specified, allows only choosing channels where the bot is an admin with at least the specified admin rights.

References​