View Source ExGram.Model.KeyboardButtonRequestChat (ex_gram v0.53.0)

This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats ».

Check the documentation of this model in



@type t() :: %ExGram.Model.KeyboardButtonRequestChat{
  bot_administrator_rights: ExGram.Model.ChatAdministratorRights.t() | nil,
  bot_is_member: boolean() | nil,
  chat_has_username: boolean() | nil,
  chat_is_channel: boolean(),
  chat_is_created: boolean() | nil,
  chat_is_forum: boolean() | nil,
  request_id: integer(),
  request_photo: boolean() | nil,
  request_title: boolean() | nil,
  request_username: boolean() | nil,
  user_administrator_rights: ExGram.Model.ChatAdministratorRights.t() | nil