ChatJoinRequestQueryResult

class pyrogram.enums.ChatJoinRequestQueryResult[source]

Media area type enumeration used in answer_chat_join_request_query().

APPROVE = <class 'pyrogram.raw.types.join_chat_bot_result_approved.JoinChatBotResultApproved'>

Allow the user to join the chat.

DECLINE = <class 'pyrogram.raw.types.join_chat_bot_result_declined.JoinChatBotResultDeclined'>

Disallow the user to join the chat.

QUEUE = <class 'pyrogram.raw.types.join_chat_bot_result_queued.JoinChatBotResultQueued'>

Leave the decision to other administrators.

WEB_VIEW = <class 'pyrogram.raw.types.join_chat_bot_result_web_view.JoinChatBotResultWebView'>

Open a webview for the user.