Add const for 'chat_join_request' update type
OvyFlash olegshva4ko@gmail.com
Mon, 30 Oct 2023 16:04:47 +0200
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
configs.go
→
configs.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