Compliance with bot API 7.8
This commit is contained in:
parent
fd4374f328
commit
cc4cbbacbd
@ -11,7 +11,7 @@ __author__ = "Davide Testa"
|
||||
__email__ = "davide@davte.it"
|
||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||
__license__ = "GNU General Public License v3.0"
|
||||
__version__ = "2.10.3"
|
||||
__version__ = "2.10.4"
|
||||
__maintainer__ = "Davide Testa"
|
||||
__contact__ = "t.me/davte"
|
||||
|
||||
|
@ -1593,6 +1593,7 @@ class TelegramBot:
|
||||
)
|
||||
|
||||
async def pinChatMessage(self, chat_id: Union[int, str], message_id,
|
||||
business_connection_id: str = None,
|
||||
disable_notification: bool = None):
|
||||
"""Pin a message in a group, a supergroup, or a channel.
|
||||
|
||||
@ -1608,6 +1609,7 @@ class TelegramBot:
|
||||
)
|
||||
|
||||
async def unpinChatMessage(self, chat_id: Union[int, str],
|
||||
business_connection_id: str = None,
|
||||
message_id: int = None):
|
||||
"""Unpin a message in a group, a supergroup, or a channel.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user