all repos — telegram-bot-api @ 48d380a129adde957c62c2d75b4a0f0a88aa6cf9

Golang bindings for the Telegram Bot API

Add 'BotName' type to available types.
OvyFlash olegshva4ko@gmail.com
Mon, 16 Oct 2023 20:24:40 +0300
commit

48d380a129adde957c62c2d75b4a0f0a88aa6cf9

parent

9b085ce6a62e50f2a7c657517f36c6d7f0cfd2a7

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M types.gotypes.go

@@ -2227,6 +2227,11 @@ ChatID int64 `json:"chat_id,omitempty"`

UserID int64 `json:"user_id,omitempty"` } +//BotName represents the bot's name. +type BotName struct { + Name string `json:"name"` +} + // BotDescription represents the bot's description. type BotDescription struct { Description string `json:"description"`