diff --git a/compiler/api/source/sys_msgs.tl b/compiler/api/source/sys_msgs.tl index cd00cd2d..067ab91e 100644 --- a/compiler/api/source/sys_msgs.tl +++ b/compiler/api/source/sys_msgs.tl @@ -42,9 +42,16 @@ new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = // msg_copy#e06046b2 orig_message:Message = MessageCopy; // Not used // gzip_packed#3072cfa1 packed_data:string = Object; // Parsed manually +http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; + //// 0xd433ad73 = hex(crc32(b"ipPort ipv4:int port:int = IpPort")) +// ipPort ipv4:int port:int = IpPort; +// help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; + ipPort#d433ad73 ipv4:int port:int = IpPort; -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; +ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; +accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; +help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; ---functions--- @@ -58,5 +65,3 @@ ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; destroy_session#e7512126 session_id:long = DestroySessionRes; contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; diff --git a/pyrogram/session/internals/msg_factory.py b/pyrogram/session/internals/msg_factory.py index f599cd6f..76a35458 100644 --- a/pyrogram/session/internals/msg_factory.py +++ b/pyrogram/session/internals/msg_factory.py @@ -17,8 +17,8 @@ # along with Pyrogram. If not, see . from pyrogram.api.core import Message, MsgContainer, Object -from pyrogram.api.functions import Ping, HttpWait -from pyrogram.api.types import MsgsAck +from pyrogram.api.functions import Ping +from pyrogram.api.types import MsgsAck, HttpWait from .msg_id import MsgId from .seq_no import SeqNo