View Source ExTDLib.Object.KeyboardButtonTypeRequestChat (ExTDLib v0.0.4)

A button that requests a chat to be shared by the current user; available only in private chats. Use the method shareChatWithBot to complete the request.

NameTypeDescription
idnumberUnique button identifier.
chat_is_channelboolTrue, if the chat must be a channel; otherwise, a basic group or a supergroup chat is shared.
restrict_chat_is_forumboolTrue, if the chat must or must not be a forum supergroup.
chat_is_forumboolTrue, if the chat must be a forum supergroup; otherwise, the chat must not be a forum supergroup. Ignored if restrict_chat_is_forum is false.
restrict_chat_has_usernameboolTrue, if the chat must or must not have a username.
chat_has_usernameboolTrue, if the chat must have a username; otherwise, the chat must not have a username. Ignored if restrict_chat_has_username is false.
chat_is_createdboolTrue, if the chat must be created by the current user.
user_administrator_rightschatAdministratorRightsExpected user administrator rights in the chat; may be null if they aren't restricted.
bot_administrator_rightschatAdministratorRightsExpected bot administrator rights in the chat; may be null if they aren't restricted.
bot_is_memberboolTrue, if the bot must be a member of the chat; for basic group and supergroup chats only.

More details on telegram's documentation.