package domain // BotAPIChat is a peer resolved for the Bot API getChat method. The bot need // not be a member: a public channel or supergroup resolves (projected as a // preview), while a private chat the bot has no access to resolves to an error. type BotAPIChat struct { Peer Peer // domain peer; the Bot API chat-id encoding is applied by the projection Type string // "private" | "group" | "supergroup" | "channel" Title string Username string FirstName string LastName string Description string // channel/supergroup "about" IsForum bool Verified bool Scam bool Fake bool }