Skip to content
Merged
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions telebot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -13993,6 +13993,13 @@ 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


Comment on lines +14000 to +14001
class SuggestedPostApprovalFailed(JsonDeserializable):
"""
Describes a service message about the failed approval of a suggested post.
Expand Down
Loading