BotEx.Models.Menu (bot_ex v1.0.2)
Summary
Types
@type 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