ExGram.Model.InlineKeyboardMarkup (ex_gram v0.70.0)

Copy Markdown View Source

This object represents an inline keyboard that appears right next to the message it belongs to.

Check the documentation of this model on Telegram Bot API

  • inline_keyboard: Array of button rows, each represented by an Array of InlineKeyboardButton objects
  • force_reply (optional): Optional. Pass True if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'. The value of the field can't be changed when the inline keyboard is edited.

Summary

Types

t()

@type t() :: %ExGram.Model.InlineKeyboardMarkup{
  force_reply: boolean() | nil,
  inline_keyboard: [[ExGram.Model.InlineKeyboardButton.t()]]
}

Functions

decode_as()