name (str) – The name you give to the menu, which will be used as
the text of callback button, if needed. See BaseMenu for more
menu_id (str) – The unique identifier given to the menu, which will
refer unequivocally to this entity. The hash for this class is
generated relying on the content of this field. Avoid using 0
as it is used for buttons whose purpose is only related to
design (i.e. they do not point to any menu, see
Null-pointer button). See BaseMenu for more information.
payload (Types.Payload) –
What will be passed to as payload using the
deep-linking. A function can be provided as well and must follow
the following arguments pattern:
deep_link_type (Optional[str]) – The type of deep-link that is being
generated, which must be either start or startgroup.
Defaults to start.