mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Serialize flag_indicator argument to flags:#
This commit is contained in:
parent
2ff419a5e7
commit
930dc99f31
|
@ -173,6 +173,9 @@ class TLArg:
|
|||
def __str__(self):
|
||||
# Find the real type representation by updating it as required
|
||||
real_type = self.type
|
||||
if self.flag_indicator:
|
||||
real_type = '#'
|
||||
|
||||
if self.is_vector:
|
||||
real_type = 'Vector<{}>'.format(real_type)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user