BotEx.Models.Button (bot_ex v1.0.2)

Summary

Types

t()

Module, that represents menu button struct.

Types

t()

@type t() :: %BotEx.Models.Button{
  action: nil | binary(),
  data: nil | binary(),
  module: nil | binary(),
  text: nil | binary()
}

Module, that represents menu button struct.

Fields:

  • text: visible text,
  • module: call module,
  • action: action,
  • data: some data