Add const for 'chat_join_request' update type

pull/10/head
OvyFlash 2023-10-30 16:04:47 +02:00
parent 48d380a129
commit 371d8b695f
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ const (
// UpdateTypeChatMember is when the bot must be an administrator in the chat and must explicitly specify // 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. // this update in the list of allowed_updates to receive these updates.
UpdateTypeChatMember = "chat_member" 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 // Library errors