all repos — telegram-bot-api @ 371d8b695f367525262fa97a8833a1bc0ed814e0

Golang bindings for the Telegram Bot API

Add const for 'chat_join_request' update type
OvyFlash olegshva4ko@gmail.com
Mon, 30 Oct 2023 16:04:47 +0200
commit

371d8b695f367525262fa97a8833a1bc0ed814e0

parent

48d380a129adde957c62c2d75b4a0f0a88aa6cf9

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

jump to
M configs.goconfigs.go

@@ -92,6 +92,10 @@

// UpdateTypeChatMember is when the bot must be an administrator in the chat and must explicitly specify // this update in the list of allowed_updates to receive these updates. UpdateTypeChatMember = "chat_member" + + // UpdateTypeChatJoinRequest is request to join the chat has been sent. + // The bot must have the can_invite_users administrator right in the chat to receive these updates. + UpdateTypeChatJoinRequest = "chat_join_request" ) // Library errors