mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +03:00
Fix ID autocast should not add the mark
This commit is contained in:
parent
61f9dc1cd7
commit
8ca2e56aee
|
@ -30,7 +30,7 @@ AUTO_CASTS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
NAMED_AUTO_CASTS = {
|
NAMED_AUTO_CASTS = {
|
||||||
('chat_id', 'int'): 'await client.get_peer_id({})'
|
('chat_id', 'int'): 'await client.get_peer_id({}, add_mark=False)'
|
||||||
}
|
}
|
||||||
|
|
||||||
BASE_TYPES = ('string', 'bytes', 'int', 'long', 'int128',
|
BASE_TYPES = ('string', 'bytes', 'int', 'long', 'int128',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user