|
23 | 23 |
|
24 | 24 | from pyrogram import __version__ |
25 | 25 | from ..style import Markdown, HTML |
26 | | -from ...api.core import Object |
27 | | -from ...session import Session |
28 | 26 | from ...session.internals import MsgId |
29 | 27 |
|
30 | 28 |
|
@@ -99,33 +97,23 @@ def __init__(self): |
99 | 97 |
|
100 | 98 | self.disconnect_handler = None |
101 | 99 |
|
102 | | - def send(self, data: Object, retries: int = Session.MAX_RETRIES, timeout: float = Session.WAIT_TIMEOUT): |
| 100 | + def send(self, *args, **kwargs): |
103 | 101 | pass |
104 | 102 |
|
105 | | - def resolve_peer(self, peer_id: int or str): |
| 103 | + def resolve_peer(self, *args, **kwargs): |
106 | 104 | pass |
107 | 105 |
|
108 | | - def fetch_peers(self, entities): |
| 106 | + def fetch_peers(self, *args, **kwargs): |
109 | 107 | pass |
110 | 108 |
|
111 | | - def add_handler(self, handler, group: int = 0) -> tuple: |
| 109 | + def add_handler(self, *args, **kwargs): |
112 | 110 | pass |
113 | 111 |
|
114 | | - def save_file( |
115 | | - self, |
116 | | - path: str, |
117 | | - file_id: int = None, |
118 | | - file_part: int = 0, |
119 | | - progress: callable = None, |
120 | | - progress_args: tuple = () |
121 | | - ): |
| 112 | + def save_file(self, *args, **kwargs): |
122 | 113 | pass |
123 | 114 |
|
124 | | - def get_messages( |
125 | | - self, |
126 | | - chat_id: int or str, |
127 | | - message_ids: int or list = None, |
128 | | - reply_to_message_ids: int or list = None, |
129 | | - replies: int = 1 |
130 | | - ): |
| 115 | + def get_messages(self, *args, **kwargs): |
| 116 | + pass |
| 117 | + |
| 118 | + def get_history(self, *args, **kwargs): |
131 | 119 | pass |
0 commit comments