ExGram.Model.BotAccessSettings (ex_gram v0.66.0)

Copy Markdown View Source

This object describes the access settings of a bot.

Check the documentation of this model on Telegram Bot API

  • is_access_restricted: True, if only selected users can access the bot. The bot's owner can always access it.
  • added_users (optional): Optional. The list of other users who have access to the bot if the access is restricted

Summary

Types

t()

@type t() :: %ExGram.Model.BotAccessSettings{
  added_users: [ExGram.Model.User.t()] | nil,
  is_access_restricted: boolean()
}

Functions

decode_as()