mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 13:34:54 +00:00
Fix small merge issues
This commit is contained in:
parent
3f7b0b25af
commit
c3cf924ddd
@ -22,10 +22,10 @@ from ...ext import BaseClient, utils
|
||||
|
||||
|
||||
class GetDialogs(BaseClient):
|
||||
def get_dialogs(self,
|
||||
offset_dialogs=None,
|
||||
limit: int = 100,
|
||||
pinned_only: bool = False):
|
||||
async def get_dialogs(self,
|
||||
offset_dialogs=None,
|
||||
limit: int = 100,
|
||||
pinned_only: bool = False):
|
||||
"""Use this method to get the user's dialogs
|
||||
|
||||
You can get up to 100 dialogs at once.
|
||||
|
@ -27,21 +27,21 @@ from pyrogram.client.ext import BaseClient, utils
|
||||
|
||||
|
||||
class SendAnimation(BaseClient):
|
||||
asyncdef send_animation(self,
|
||||
chat_id: int or str,
|
||||
animation: str,
|
||||
caption: str = "",
|
||||
parse_mode: str = "",
|
||||
duration: int = 0,
|
||||
width: int = 0,
|
||||
height: int = 0,
|
||||
thumb: str = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_markup=None,
|
||||
progress: callable = None,
|
||||
progress_args: tuple = ()):
|
||||
"""Use this method to send animation files(animation or H.264/MPEG-4 AVC video without sound).
|
||||
async def send_animation(self,
|
||||
chat_id: int or str,
|
||||
animation: str,
|
||||
caption: str = "",
|
||||
parse_mode: str = "",
|
||||
duration: int = 0,
|
||||
width: int = 0,
|
||||
height: int = 0,
|
||||
thumb: str = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_markup=None,
|
||||
progress: callable = None,
|
||||
progress_args: tuple = ()):
|
||||
"""Use this method to send animation files (animation or H.264/MPEG-4 AVC video without sound).
|
||||
|
||||
Args:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
Loading…
Reference in New Issue
Block a user