class RichMenu: def __init__(self, name, chat_bar_text, size_full=True, selected=False): self.size = {"width": 2500, "height": 1686} if not size_full: self.size["height"] = 843 self.selected = selected self.name = name self.chat_bar_text = chat_bar_text self.areas = [] def add_area(self, x, y, width, height, action_type, payload): bounds = {"x": x, "y": y, "width": width, "height": height} action