class pyrubrum.Element(name: str, element_id: str)

Representation of a general flag which refers to a particular state of a menu. Its unique identifier can be passed as an argument to Button.

  • name (str) – The text which will be displayed in the text field of a button inside an inline keyboard.

  • element_id (str) – The unique identifier for this object which makes a menu recognise it.