Layer 227
JoinChatBotResult
Abstract type representing one of 4 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.JoinChatBotResult interface.
Use any of the following constructors:
JoinChatBotResultApproved
Returned by the gatekeeper bot when a chat-join request is approved.
JoinChatBotResultDeclined
Returned by the gatekeeper bot when a chat-join request is declined.
JoinChatBotResultQueued
Returned by the gatekeeper bot when a chat-join request is queued for review.
JoinChatBotResultWebView
Gatekeeper bot result that asks the user to complete a Web App to finish joining.
Gogram Example
// JoinChatBotResult is an interface type // You can use any of the following constructors: var _ tg.JoinChatBotResult = &tg.JoinChatBotResultApproved{} var _ tg.JoinChatBotResult = &tg.JoinChatBotResultDeclined{} var _ tg.JoinChatBotResult = &tg.JoinChatBotResultQueued{} var _ tg.JoinChatBotResult = &tg.JoinChatBotResultWebView{}