mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Provide some actions from data types.
This commit is contained in:
parent
49961e5b2b
commit
5b87708049
6 changed files with 45 additions and 3 deletions
|
|
@ -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:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue