ExGram.Model.KeyboardButtonRequestUsers (ex_gram v0.55.1)

View Source

This object defines the criteria used to request suitable users. Information about the selected users will be shared with the bot when the corresponding button is pressed. More about requesting users »

Check the documentation of this model in https://core.telegram.org/bots/api#keyboardbuttonrequestusers

Summary

Types

t()

@type t() :: %ExGram.Model.KeyboardButtonRequestUsers{
  max_quantity: integer() | nil,
  request_id: integer(),
  request_name: boolean() | nil,
  request_photo: boolean() | nil,
  request_username: boolean() | nil,
  user_is_bot: boolean() | nil,
  user_is_premium: boolean() | nil
}

Functions

decode_as()