bot_ex v0.2.0 BotEx.Models.Menu
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %BotEx.Models.Menu{ buttons: [BotEx.Models.Button.t(), ...] | function(), custom: any(), name: binary(), text: nil | binary() }
Module, that represents menu struct.
Fields:
name
: menu unique identifier,text
: menu text,buttons
: list of buttonsBotEx.Models.Button
or a function that returns list of buttonscustom
: any data