Provide some actions from data types.

This commit is contained in:
Alex Root Junior 2017-07-12 00:16:29 +03:00
parent 49961e5b2b
commit 5b87708049
6 changed files with 45 additions and 3 deletions

View file

@ -216,6 +216,9 @@ class Message(Deserializable):
return False
return True
async def pin(self, disable_notification: bool = False):
return await self.chat.pin_message(self.message_id, disable_notification)
class ContentType:
"""