Skip to main content

connectedBot

Contains info about a connected business bot ».

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

Fields​

NameTypeRequiredDescription
BotIDint64yesID of the connected bot
RecipientsBusinessBotRecipientsyesSpecifies the private chats that a connected business bot » may receive messages and interact with.
RightsBusinessBotRightsyesBusiness bot rights.
Devicestring—Device field of ConnectedBot.
Dateint—Date field of ConnectedBot.
Locationstring—Location field of ConnectedBot.

References​