KeyboardButtonTypeRequestChat constructor

KeyboardButtonTypeRequestChat(
  1. {required int id,
  2. required bool chat_is_channel,
  3. required bool restrict_chat_is_forum,
  4. required bool chat_is_forum,
  5. required bool restrict_chat_has_username,
  6. required bool chat_has_username,
  7. required bool chat_is_created,
  8. ChatAdministratorRights? user_administrator_rights,
  9. ChatAdministratorRights? bot_administrator_rights,
  10. required bool bot_is_member,
  11. int? extra,
  12. int? clientId}
)

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

Implementation

KeyboardButtonTypeRequestChat