File tree Expand file tree Collapse file tree
pyrogram/methods/messages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616# You should have received a copy of the GNU Lesser General Public License
1717# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818
19- import datetime
19+ from datetime import datetime
2020from typing import AsyncIterator , Union , List
2121
2222import pyrogram
@@ -30,7 +30,7 @@ async def get_chunk(
3030 limit : int = 0 ,
3131 offset : int = 0 ,
3232 from_message_id : int = 0 ,
33- from_date : datetime . datetime = utils .zero_datetime (),
33+ from_date : datetime = utils .zero_datetime (),
3434 min_id : int = 0 ,
3535 max_id : int = 0 ,
3636 reverse : bool = False ,
@@ -99,7 +99,7 @@ async def get_chat_history(
9999 limit : int = 0 ,
100100 offset : int = 0 ,
101101 offset_id : int = 0 ,
102- offset_date : datetime . datetime = utils .zero_datetime (),
102+ offset_date : datetime = utils .zero_datetime (),
103103 min_id : int = 0 ,
104104 max_id : int = 0 ,
105105 reverse : bool = False ,
You can’t perform that action at this time.
0 commit comments