Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions telebot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -13993,6 +13993,12 @@ def __init__(self, center_color: int, edge_color: int, text_color: int, **kwargs
self.edge_color: int = edge_color
self.text_color: int = text_color

@classmethod
def de_json(cls, json_string):
if json_string is None: return None
obj = cls.check_json(json_string)
return cls(**obj)
Comment on lines +13996 to +14000

class SuggestedPostApprovalFailed(JsonDeserializable):
"""
Describes a service message about the failed approval of a suggested post.
Expand Down
Loading