mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Rename constructor/subclass_of_id to upper case, keep only static
This commit is contained in:
@@ -329,7 +329,7 @@ class MtProtoSender:
|
||||
if self.session.report_errors and request:
|
||||
error = rpc_message_to_error(
|
||||
reader.read_int(), reader.tgread_string(),
|
||||
report_method=type(request).constructor_id
|
||||
report_method=type(request).CONSTRUCTOR_ID
|
||||
)
|
||||
else:
|
||||
error = rpc_message_to_error(
|
||||
|
Reference in New Issue
Block a user