ExGram.Model.BotCommand (ex_gram v0.69.0)

Copy Markdown View Source

This object represents a bot command.

Check the documentation of this model on Telegram Bot API

  • command: Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
  • description: Description of the command; 1-256 characters
  • is_ephemeral (optional): Optional. True, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot

Summary

Types

t()

@type t() :: %ExGram.Model.BotCommand{
  command: String.t(),
  description: String.t(),
  is_ephemeral: boolean() | nil
}

Functions

decode_as()