ExGram.Model.RichTextBotCommand (ex_gram v0.67.0)

Copy Markdown View Source

A bot command.

Check the documentation of this model on Telegram Bot API

  • type: Type of the rich text, always "bot_command”
  • text: The text
  • bot_command: The bot command

Summary

Types

t()

@type t() :: %ExGram.Model.RichTextBotCommand{
  bot_command: String.t(),
  text: ExGram.Model.RichText.t(),
  type: String.t()
}

Functions

decode_as()