mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Compare commits
No commits in common. "88a76c0a15e61975ddec26f38765d01b08950240" and "730d11012d02dc83f6908f39e3dba0187655d853" have entirely different histories.
88a76c0a15
...
730d11012d
|
@ -3076,11 +3076,11 @@ class ChatAdministratorRights(JsonDeserializable, JsonSerializable):
|
|||
'can_change_info': self.can_change_info,
|
||||
'can_invite_users': self.can_invite_users,
|
||||
}
|
||||
if self.can_post_messages is not None:
|
||||
if 'can_post_messages' is not None:
|
||||
json_dict['can_post_messages'] = self.can_post_messages
|
||||
if self.can_edit_messages is not None:
|
||||
if 'can_edit_messages' is not None:
|
||||
json_dict['can_edit_messages'] = self.can_edit_messages
|
||||
if self.can_pin_messages is not None:
|
||||
if 'can_pin_messages' is not None:
|
||||
json_dict['can_pin_messages'] = self.can_pin_messages
|
||||
return json_dict
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user