bot_ex v0.2.0 BotEx.Models.Button

Link to this section Summary

Types

t()

Module, that represents menu button struct.

Link to this section Types

Link to this type

t()

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