Skip to content
Open
Changes from 1 commit
Commits
Show all changes
662 commits
Select commit Hold shift + click to select a range
050a730
Update Pyrogram to v2.0.21
delivrance May 14, 2022
d984ae2
Add missing parameter to send_reaction (#993)
leonardotty May 14, 2022
15bfaed
Update Pyrogram to v2.0.22
delivrance May 14, 2022
ff90baf
Fix get_messages and usages
delivrance May 14, 2022
427738d
Update Pyrogram to v2.0.23
delivrance May 14, 2022
5681cce
Add back the ability to pass iterators to some methods
delivrance May 15, 2022
f628375
Add sequential parameter to compose()
delivrance May 15, 2022
644dd55
Update Pyrogram to v2.0.24
delivrance May 15, 2022
6974d97
Fix type hint of User.status (#998)
MrMissx May 25, 2022
f7c6788
Update Pyrogram to v2.0.25
delivrance May 25, 2022
c5958fc
Fix offset_date not being an integer timestamp
delivrance May 26, 2022
ba3104f
Update Pyrogram to v2.0.26
delivrance May 26, 2022
edf5e98
Update FAQ
delivrance Jun 6, 2022
a1bdcd6
Fix type of "has_protected_content" (#994)
prashantsengar Jun 6, 2022
37e0015
Update Pyrogram to v2.0.27
delivrance Jun 6, 2022
7f9e841
Update API schema to Layer 143
delivrance Jun 14, 2022
b59dcd1
Do not trigger a reconnection when skipping invalid packets
delivrance Jun 20, 2022
d61a2ce
Remove syncer.py
delivrance Jun 20, 2022
b35810d
Update compose example
delivrance Jun 20, 2022
0a50520
Improve idle() implementation
delivrance Jun 20, 2022
6a766fa
Update README.md
delivrance Jun 20, 2022
d71db29
Store the "me" user object
delivrance Jun 20, 2022
caa26b2
Improve upload file size checks
delivrance Jun 20, 2022
34ffc49
Fix example typo (#1020)
licproF Jun 20, 2022
b904a4f
Fix FAQ example (#1007)
MrBotDeveloper Jun 20, 2022
eb4ff14
Fix delete_profile_photos example (#990)
SmartManoj Jun 20, 2022
4b10ec8
Pickle datetime objects into timestamps (#1016)
delivrance Jun 20, 2022
81baf85
Update Pyrogram to v2.0.28
delivrance Jun 20, 2022
212ea57
Fix tests
delivrance Jun 20, 2022
78e1d29
Update Pyrogram to v2.0.29
delivrance Jun 20, 2022
0e0642e
Add [403 PREMIUM_ACCOUNT_REQUIRED] error
delivrance Jun 21, 2022
3aaf357
Update Pyrogram to v2.0.30
delivrance Jun 21, 2022
4398cbb
Improve edit_inline_media (#1036)
DavideGalilei Jul 14, 2022
11d6a4a
Update Pyrogram to v2.0.31
delivrance Jul 14, 2022
70e73d3
Add ENTITY_BOUNDS_INVALID error description
delivrance Jul 14, 2022
d1e8b3b
Update Pyrogram to v2.0.32
delivrance Jul 14, 2022
298d361
Store "me" user object before starting dispatcher (#1042)
Mahesh0253 Jul 16, 2022
d9c8e04
Update Pyrogram to v2.0.33
delivrance Jul 16, 2022
ed74895
Filter out empty entities internally (#1041)
Harsh-br0 Jul 22, 2022
6f7ec0d
Update Pyrogram to v2.0.34
delivrance Jul 22, 2022
6736602
Handle socket.connect() blocking-ness
delivrance Jul 23, 2022
de31277
Update Pyrogram to v2.0.35
delivrance Jul 23, 2022
0505ff0
Add some sticker-related errors (#1055)
AsmSafone Aug 11, 2022
8da0851
Add support for BytesIO in InputMedia objects (#1047)
69888 Aug 11, 2022
bc9161c
Update API schema to Layer 144 (#1050)
null-nick Aug 11, 2022
e192350
Fixed edit_inline_media once again (#1052)
DavideGalilei Aug 11, 2022
c26c100
Update Pyrogram to v2.0.36
delivrance Aug 11, 2022
cd69fb6
Add support for CUSTOM_EMOJI message entity type
delivrance Aug 12, 2022
8c39932
Add new method get_custom_emoji_stickers
delivrance Aug 12, 2022
78fe290
Update Pyrogram to v2.0.37
delivrance Aug 12, 2022
9aefff9
Fix join applications for public chats
delivrance Aug 12, 2022
6c34c83
Update Pyrogram to v2.0.38
delivrance Aug 12, 2022
6b7e5dc
Fix sending custom emoji
delivrance Aug 14, 2022
95de5f7
Fix determining video sticker resolution. Add sticker duration to Sti…
L3Nya Aug 14, 2022
2e46514
Refactor Sticker parsing
delivrance Aug 14, 2022
e94d3c1
Merge branch 'sticker-attributes'
delivrance Aug 14, 2022
bb450d1
Update Pyrogram to v2.0.39
delivrance Aug 14, 2022
803f8f0
Fix Sticker parsing
delivrance Aug 14, 2022
2242adb
Update Pyrogram to v2.0.40
delivrance Aug 14, 2022
f5bcce7
Add support for custom emoji in HTML
delivrance Aug 16, 2022
ac09411
Update Pyrogram to v2.0.41
delivrance Aug 16, 2022
cb5431d
Fix get_custom_emoji_stickers parameter type in docs (#1066)
omg-xtao Aug 17, 2022
371700d
Update FAQ
delivrance Aug 28, 2022
95aae43
Fix serialization of empty optional lists
delivrance Aug 28, 2022
f6e0e58
Update Pyrogram to v2.0.42
delivrance Aug 28, 2022
ed008dd
Fix message entity parsing and serialization
delivrance Aug 28, 2022
3bd0820
Update Pyrogram to v2.0.43
delivrance Aug 28, 2022
7055ee6
Update get_peer_by_username query
delivrance Sep 1, 2022
94c0031
Update Pyrogram to v2.0.44
delivrance Sep 1, 2022
88af58f
Fix nonce checks
delivrance Sep 2, 2022
14c5303
Update Pyrogram to v2.0.45
delivrance Sep 2, 2022
761e473
More nonce check fixes
delivrance Sep 2, 2022
3632400
Update Pyrogram to v2.0.46
delivrance Sep 2, 2022
2cd0f38
Update API schema to Layer 145
delivrance Sep 3, 2022
7a53c3d
Add support for emoji status
delivrance Sep 3, 2022
1fb04b7
Update EmojiStatus
delivrance Sep 3, 2022
fe7fcf3
Update reaction.py
delivrance Sep 3, 2022
9eb7589
Add chat_reactions.py
delivrance Sep 3, 2022
6496a87
Add message_reactions.py
delivrance Sep 3, 2022
06c62c5
Add MessageReactions and ChatReactions to the docs
delivrance Sep 3, 2022
f731985
Update Pyrogram to v2.0.47
delivrance Sep 3, 2022
04b343f
Add get_default_emoji_statuses method
delivrance Sep 3, 2022
5d11c03
Add set_emoji_status method
delivrance Sep 3, 2022
210f538
Update Pyrogram to v2.0.48
delivrance Sep 3, 2022
1db03c4
Fix for older Python versions
delivrance Sep 3, 2022
1a10750
Update Pyrogram to v2.0.49
delivrance Sep 3, 2022
e0fdcc7
Fix send_reaction
delivrance Sep 5, 2022
8490cfa
Update Pyrogram to v2.0.50
delivrance Sep 5, 2022
f9aacd8
Update poll parsing
delivrance Sep 6, 2022
7558e04
Update Pyrogram to v2.0.51
delivrance Sep 6, 2022
6dced52
Update example
delivrance Sep 15, 2022
8fd79c9
Update API schema to Layer 146
delivrance Sep 15, 2022
9f94aee
Update Pyrogram to v2.0.52
delivrance Sep 15, 2022
53584bc
Add chosen_order to Reaction
delivrance Sep 18, 2022
81895d7
Fix Chat.available_reactions type hint
delivrance Sep 18, 2022
468ebf5
Add tempfile deletion in case of asyncio task cancellation. (#1080)
el-garro Sep 18, 2022
3940ca9
Revamp handling of partial downloads
delivrance Sep 18, 2022
2d547cc
Update Pyrogram to v2.0.53
delivrance Sep 18, 2022
71f263b
Re-raise asyncio.CancelledError to avoid continuations
delivrance Sep 18, 2022
a2fe5b3
Update Pyrogram to v2.0.54
delivrance Sep 18, 2022
4edaa21
Don't create download dirs for in-memory downloads
delivrance Sep 20, 2022
862285e
Update Pyrogram to v2.0.55
delivrance Sep 20, 2022
2870ae8
Move get_me() call into start()
delivrance Sep 22, 2022
f407f88
Update Pyrogram to v2.0.56
delivrance Sep 22, 2022
ec476aa
Call get_me() before initializing the client
delivrance Sep 23, 2022
0e68bf3
Update Pyrogram to v2.0.57
delivrance Sep 23, 2022
8077eb4
Update docs
delivrance Oct 6, 2022
bb44f36
Add usable-by labels for methods
delivrance Oct 14, 2022
bf52ec1
Update usable-by labels
delivrance Oct 15, 2022
9ade92c
Add languages to "pre" tags (HTML and Markdown) #1118
Princic-1837592 Oct 15, 2022
b660115
Update Pyrogram to v2.0.58
delivrance Oct 15, 2022
3eda82d
Update html.py
delivrance Oct 16, 2022
ef92389
Update Pyrogram to v2.0.59
delivrance Oct 16, 2022
a374e01
Update API schema to Layer 148
null-nick Nov 13, 2022
035bbbb
Update python.yml
delivrance Nov 13, 2022
b423730
Fix on_disconnect decorator not working (#1134)
01101sam Nov 13, 2022
c989639
Add Message.forwards field (#1103)
IhorBoichuk Nov 13, 2022
1b02a6a
Add __all__ for better enums suggestions (#1126)
AlbertEinsteinTG Nov 13, 2022
b848e05
Fix copy_message return type hint (#1128)
kvrvgv Nov 13, 2022
31b3218
Use getattr to get outgoing attribute in filters.me (#1137)
ALiwoto Nov 13, 2022
0e64ebc
Fix typo (#1029)
DeekshithSH Nov 13, 2022
23d9532
Update Pyrogram to v2.0.60
delivrance Nov 13, 2022
1699ef0
Disable parse mode when copying messages
delivrance Nov 15, 2022
e3e9731
Update Pyrogram to v2.0.61
delivrance Nov 15, 2022
2aae101
Add tag command to Makefile
delivrance Nov 18, 2022
9b6cb07
Update Pyrogram to v2.0.62
delivrance Nov 18, 2022
b81c379
Update API schema to Layer 149
delivrance Nov 25, 2022
70b6738
Update Pyrogram to v2.0.63
delivrance Nov 25, 2022
1d7852a
Update API schema to Layer 150
delivrance Dec 6, 2022
fb85a14
Update Pyrogram to v2.0.64
delivrance Dec 6, 2022
d734fbb
Fix User.emoji_status type hint
delivrance Dec 6, 2022
3cf1ac7
Update the order in which media messages are parsed
delivrance Dec 6, 2022
ad77345
Update Pyrogram to v2.0.65
delivrance Dec 6, 2022
2ed0003
Update the HTML logic to output well-formed elements (#1155)
Princic-1837592 Dec 6, 2022
38e9745
Update Pyrogram to v2.0.66
delivrance Dec 6, 2022
db6bc2d
Add tests for HTML.unparse
delivrance Dec 6, 2022
fd2819c
Update Pyrogram to v2.0.67
delivrance Dec 6, 2022
669b399
Escape text inside entity when building unparsed text (#1156)
Princic-1837592 Dec 6, 2022
7090dcb
Add more tests for HTML.unparse
delivrance Dec 6, 2022
86515bb
Update Pyrogram to v2.0.68
delivrance Dec 6, 2022
217bcb1
Fix HTML unparsing when there's no entities
delivrance Dec 6, 2022
73554b9
Update Pyrogram to v2.0.69
delivrance Dec 6, 2022
a76269d
Handle all given updates, avoid short circuit (#1162)
kai3341 Dec 12, 2022
aeea07f
Update Pyrogram to v2.0.70
delivrance Dec 12, 2022
a9e7d15
Add a watchdog for incoming updates
delivrance Dec 23, 2022
ccb58f5
Update Pyrogram to v2.0.71
delivrance Dec 23, 2022
81573bc
Remove threading.Lock usages
delivrance Dec 23, 2022
8afd459
Update Pyrogram to v2.0.72
delivrance Dec 23, 2022
c4a47b9
Add support for Fragment SMS codes (#1170)
omg-xtao Dec 23, 2022
265f5fc
Add VOICE_MESSAGES_FORBIDDEN (#1151)
KyMaP13 Dec 23, 2022
f350691
Update Pyrogram to v2.0.73
delivrance Dec 23, 2022
84d60b5
Switch to non-blocking sockets & use a send queue
delivrance Dec 24, 2022
f30510a
Update Pyrogram to v2.0.74
delivrance Dec 24, 2022
1cb1715
Keep a timeout while connecting and set non-blocking afterwards
delivrance Dec 24, 2022
91160bf
Update Pyrogram to v2.0.75
delivrance Dec 24, 2022
deb560a
Remove unused variables
delivrance Dec 24, 2022
f12005b
Use Python's standard sockets in case of no proxy
delivrance Dec 24, 2022
13e8c41
Update Pyrogram to v2.0.76
delivrance Dec 24, 2022
c7d3629
Add back a reference to the loop
delivrance Dec 24, 2022
b3825c2
Update Pyrogram to v2.0.77
delivrance Dec 24, 2022
dbf2e47
Fix usages of removed attributes
delivrance Dec 25, 2022
87ae79e
Remove special cases for older Python versions
delivrance Dec 25, 2022
4c32a15
Remove unneeded threading.Lock
delivrance Dec 25, 2022
13094f1
Update Pyrogram to v2.0.78
delivrance Dec 25, 2022
ae028ab
Switch back to local system time synchronization
delivrance Dec 25, 2022
b23e344
Add messages for mismatched checks
delivrance Dec 25, 2022
ce8c242
Revert to triggering a reconnection when skipping invalid packets
delivrance Dec 25, 2022
3d5e9d8
Update Pyrogram to v2.0.79
delivrance Dec 25, 2022
9eaaf10
Update requirements.txt
delivrance Dec 26, 2022
7e5d593
Keep lang_code lowercase
delivrance Dec 26, 2022
9ee1807
Don't raise write() and close() exceptions
delivrance Dec 26, 2022
6aae3a9
Always use non-blocking sockets
delivrance Dec 26, 2022
dd4e41f
Make the use of proxies an optional dependency
delivrance Dec 26, 2022
7182a7c
Update connection.py
delivrance Dec 26, 2022
d298c62
Update session.py
delivrance Dec 26, 2022
01cd8bb
Optimize log calls
delivrance Dec 26, 2022
6b54467
Update Pyrogram to v2.0.80
delivrance Dec 26, 2022
ab45707
Update requirements.txt
delivrance Dec 26, 2022
8b87c6a
Update tcp.py
delivrance Dec 26, 2022
916be08
Update Pyrogram to v2.0.81
delivrance Dec 26, 2022
235dde2
Update exception message
delivrance Dec 26, 2022
a81b8a2
Update Pyrogram to v2.0.82
delivrance Dec 26, 2022
bff583e
Revert some of the latest changes
delivrance Dec 26, 2022
03d60cd
Update Pyrogram to v2.0.83
delivrance Dec 26, 2022
9bf742a
Introduce back some previously reverted changes
delivrance Dec 27, 2022
dc3b8a5
Tweak file upload settings
delivrance Dec 27, 2022
52effe1
Update Pyrogram to v2.0.84
delivrance Dec 27, 2022
cf06939
Workaround proxy sockets not timing out properly
delivrance Dec 27, 2022
1fa6f3b
Update Pyrogram to v2.0.85
delivrance Dec 27, 2022
2dca5ae
Handle proxy socket connections using thread executors
delivrance Dec 27, 2022
5ca422b
Create a future result before sending its request
delivrance Dec 27, 2022
1daa05a
Raise and handle send errors in order to immediately act upon
delivrance Dec 27, 2022
82c81c1
Update Pyrogram to v2.0.86
delivrance Dec 27, 2022
d890e53
Clear stored_msg_ids on session stop
delivrance Dec 28, 2022
7ee47b2
Update Pyrogram to v2.0.87
delivrance Dec 28, 2022
cf1e31c
Apply security checks to each message in the container
delivrance Dec 29, 2022
fbf722d
Update Pyrogram to v2.0.88
delivrance Dec 29, 2022
e0dda5a
Update API schema to Layer 151 (#1182)
null-nick Dec 30, 2022
ef29b3c
Add the field has_media_spoiler to the class Message
delivrance Dec 30, 2022
c707a4b
Add the parameter has_spoiler to relevant send_* media methods
delivrance Dec 30, 2022
06996d2
Add media_spoiler filter
delivrance Dec 30, 2022
a116ea4
Add the field has_spoiler to relevant InputMedia* classes
delivrance Dec 30, 2022
50d87bf
Add the field is_persistent to the class ReplyKeyboardMarkup
delivrance Dec 30, 2022
e8bd639
Add media spoiler support for other relevant methods
delivrance Dec 30, 2022
5d3abd3
Update Pyrogram to v2.0.89
delivrance Dec 30, 2022
1e6209d
Add support for email sign in codes
delivrance Dec 30, 2022
3b0dee7
Update Pyrogram to v2.0.90
delivrance Dec 30, 2022
2de8f19
Fix resolving peers for users with multiple usernames
delivrance Dec 30, 2022
fbd62f9
Update Pyrogram to v2.0.91
delivrance Dec 30, 2022
a09c5a3
Set has_media_spoiler only in case of Photo, Video or Animation media
delivrance Dec 30, 2022
526aaa0
Update Pyrogram to v2.0.92
delivrance Dec 30, 2022
6752af8
Add error messages for transport errors
delivrance Dec 31, 2022
b19764d
Update Pyrogram to v2.0.93
delivrance Dec 31, 2022
8441ce2
Limit the amount of concurrent transmissions
delivrance Jan 8, 2023
aa2f189
Update Pyrogram to v2.0.94
delivrance Jan 8, 2023
388c534
Add BOT_ONESIDE_NOT_AVAIL to known errors (#1073)
null-nick Jan 8, 2023
2401853
Add INVITE_REQUEST_SENT to known errors
delivrance Jan 8, 2023
f9a9673
Update Pyrogram to v2.0.95
delivrance Jan 8, 2023
043734f
Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193)
Mahesh0253 Jan 9, 2023
d53e1c2
Lower the logging level of some log calls
delivrance Jan 9, 2023
a58e198
Sort the lists of known errors
delivrance Jan 9, 2023
2a7110e
Update Pyrogram to v2.0.96
delivrance Jan 9, 2023
82b8c77
Allow to specify a limit to concurrent transmissions
delivrance Jan 12, 2023
283246a
Change connection mode
delivrance Jan 12, 2023
245b7e6
Tweak Session timeouts
delivrance Jan 12, 2023
cfbc848
Update Pyrogram to v2.0.97
delivrance Jan 12, 2023
22e2b7f
Update bug_report.yml
delivrance Feb 10, 2023
5c5dce6
Update API schema to Layer 152 (#1207)
null-nick Feb 10, 2023
53cb3f2
Update Pyrogram to v2.0.98
delivrance Feb 10, 2023
f040aef
Update bug_report.yml
delivrance Feb 11, 2023
2e82fce
Add missing has_spoiler parameter to reply_{animation,photo,video}
jinspalakkattu Feb 11, 2023
96ffc7e
Update Pyrogram to v2.0.99
delivrance Feb 11, 2023
787eabd
Update send_inline_bot_result return type hint
delivrance Feb 26, 2023
d6476ce
Update Pyrogram to v2.0.100
delivrance Feb 26, 2023
a3a4a02
Update chat username parsing in case of multiple usernames
delivrance Mar 11, 2023
fb3f9ac
Update Pyrogram to v2.0.101
delivrance Mar 11, 2023
0a90d54
Separate cases between Channel and ChannelForbidden
delivrance Mar 12, 2023
abed55a
Update Pyrogram to v2.0.102
delivrance Mar 12, 2023
8cff559
Update API schema to Layer 155
delivrance Apr 3, 2023
68c7bd6
Update Pyrogram to v2.0.103
delivrance Apr 3, 2023
bb678a4
Update API schema to Layer 158
delivrance Apr 21, 2023
cea21ad
Update Pyrogram to v2.0.104
delivrance Apr 21, 2023
e24d5b1
Add RSA public keys & IP addresses for some CDN DCs
delivrance Apr 30, 2023
d9d6852
Update Pyrogram to v2.0.105
delivrance Apr 30, 2023
2ff67c7
Move the CDN DC IPv6 to the correct mapping
delivrance Apr 30, 2023
efac171
Update Pyrogram to v2.0.106
delivrance Apr 30, 2023
f67ce78
Update Makefile
delivrance Dec 23, 2024
dc7379f
Update MANIFEST.in
delivrance Dec 23, 2024
f5788f3
Update .github templates
delivrance Dec 23, 2024
30de1e2
Update README.md
delivrance Dec 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update API schema to Layer 155
  • Loading branch information
delivrance committed Apr 3, 2023
commit 8cff5594c0eefe67f8aa36d6b12689a76e5d54ee
52 changes: 38 additions & 14 deletions compiler/api/source/main_api.tl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ messageActionPaymentSent#96163f56 flags:# recurring_init:flags.2?true recurring_
messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;
messageActionScreenshotTaken#4792929b = MessageAction;
messageActionCustomAction#fae69f56 message:string = MessageAction;
messageActionBotAllowed#abe9affe domain:string = MessageAction;
messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true domain:flags.0?string app:flags.2?BotApp = MessageAction;
messageActionSecureValuesSentMe#1b287353 values:Vector<SecureValue> credentials:SecureCredentialsEncrypted = MessageAction;
messageActionSecureValuesSent#d95c6154 types:Vector<SecureValueType> = MessageAction;
messageActionContactSignUp#f3f25f76 = MessageAction;
Expand All @@ -173,7 +173,6 @@ messageActionGiftPremium#aba0f5c6 currency:string amount:long months:int = Messa
messageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction;
messageActionTopicEdit#c0944820 flags:# title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = MessageAction;
messageActionSuggestProfilePhoto#57de635e photo:Photo = MessageAction;
messageActionAttachMenuBotAllowed#e7e75f97 = MessageAction;
messageActionRequestedPeer#fe77345d button_id:int peer:Peer = MessageAction;

dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
Expand Down Expand Up @@ -386,6 +385,7 @@ updateChannelPinnedTopic#192efbe3 flags:# pinned:flags.0?true channel_id:long to
updateChannelPinnedTopics#fe198602 flags:# channel_id:long order:flags.0?Vector<int> = Update;
updateUser#20529438 user_id:long = Update;
updateAutoSaveSettings#ec05b097 = Update;
updateGroupInvitePrivacyForbidden#ccf08ad6 user_id:long = Update;

updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;

Expand All @@ -412,7 +412,7 @@ upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes

dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true this_port_only:flags.5?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption;

config#232566ac flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true force_try_ipv6:flags.14?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int reactions_default:flags.15?Reaction = Config;
config#cc1a241e flags:# default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true force_try_ipv6:flags.14?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int channels_read_media_period:int tmp_sessions:flags.0?int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int reactions_default:flags.15?Reaction autologin_token:flags.16?string = Config;

nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;

Expand Down Expand Up @@ -698,7 +698,7 @@ botInlineMessageMediaInvoice#354a9b09 flags:# shipping_address_requested:flags.1
botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult;
botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;

messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;
messages.botResults#e021f2f6 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM switch_webview:flags.3?InlineBotWebView results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;

exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink;

Expand Down Expand Up @@ -878,7 +878,7 @@ account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPas

shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = ShippingOption;

inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;
inputStickerSetItem#32da9e9c flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords keywords:flags.1?string = InputStickerSetItem;

inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;

Expand Down Expand Up @@ -1320,7 +1320,7 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR
account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;
account.resetPasswordOk#e926d63e = account.ResetPasswordResult;

sponsoredMessage#3a836df8 flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string message:string entities:flags.1?Vector<MessageEntity> = SponsoredMessage;
sponsoredMessage#fc25b828 flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string message:string entities:flags.1?Vector<MessageEntity> sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage;

messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages;
Expand Down Expand Up @@ -1352,7 +1352,7 @@ availableReaction#c077ec01 flags:# inactive:flags.0?true premium:flags.2?true re
messages.availableReactionsNotModified#9f071957 = messages.AvailableReactions;
messages.availableReactions#768e3aad hash:int reactions:Vector<AvailableReaction> = messages.AvailableReactions;

messagePeerReaction#b156fe9c flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:Reaction = MessagePeerReaction;
messagePeerReaction#8c79b63c flags:# big:flags.0?true unread:flags.1?true peer_id:Peer date:int reaction:Reaction = MessagePeerReaction;

groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;

Expand Down Expand Up @@ -1485,6 +1485,23 @@ autoSaveException#81602d47 peer:Peer settings:AutoSaveSettings = AutoSaveExcepti

account.autoSaveSettings#4c3e069d users_settings:AutoSaveSettings chats_settings:AutoSaveSettings broadcasts_settings:AutoSaveSettings exceptions:Vector<AutoSaveException> chats:Vector<Chat> users:Vector<User> = account.AutoSaveSettings;

help.appConfigNotModified#7cde641d = help.AppConfig;
help.appConfig#dd18782e hash:int config:JSONValue = help.AppConfig;

inputBotAppID#a920bd7a id:long access_hash:long = InputBotApp;
inputBotAppShortName#908c0407 bot_id:InputUser short_name:string = InputBotApp;

botAppNotModified#5da674b7 = BotApp;
botApp#95fcd1d6 flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document hash:long = BotApp;

messages.botApp#eb50adf5 flags:# inactive:flags.0?true request_write_access:flags.1?true app:BotApp = messages.BotApp;

appWebViewResultUrl#3c1b4f0d url:string = AppWebViewResult;

inlineBotWebView#b57295d5 text:string url:string = InlineBotWebView;

readParticipantDate#4a4ff172 user_id:long date:int = ReadParticipantDate;

---functions---

invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
Expand Down Expand Up @@ -1686,7 +1703,7 @@ messages.getDocumentByHash#b1f2061f sha256:bytes size:long mime_type:string = Do
messages.getSavedGifs#5cf09635 hash:long = messages.SavedGifs;
messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;
messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;
messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool;
messages.setInlineBotResults#bb12a419 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM switch_webview:flags.4?InlineBotWebView = Bool;
messages.sendInlineBotResult#d3fbdccb flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int top_msg_id:flags.9?int random_id:long query_id:long id:string schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;
messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.15?int = Updates;
Expand Down Expand Up @@ -1775,7 +1792,7 @@ messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true peer:Inp
messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;
messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer;
messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates;
messages.getMessageReadParticipants#2c6f97b7 peer:InputPeer msg_id:int = Vector<long>;
messages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector<ReadParticipantDate>;
messages.getSearchResultsCalendar#49f0bde9 peer:InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar;
messages.getSearchResultsPositions#6e9583a3 peer:InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions;
messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates;
Expand All @@ -1797,7 +1814,7 @@ messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;
messages.requestWebView#178b480b flags:# from_bot_menu:flags.4?true silent:flags.5?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to_msg_id:flags.0?int top_msg_id:flags.9?int send_as:flags.13?InputPeer = WebViewResult;
messages.prolongWebView#7ff34309 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to_msg_id:flags.0?int top_msg_id:flags.9?int send_as:flags.13?InputPeer = Bool;
messages.requestSimpleWebView#299bec8e flags:# bot:InputUser url:string theme_params:flags.0?DataJSON platform:string = SimpleWebViewResult;
messages.requestSimpleWebView#299bec8e flags:# from_switch_webview:flags.1?true bot:InputUser url:string theme_params:flags.0?DataJSON platform:string = SimpleWebViewResult;
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
Expand All @@ -1818,6 +1835,8 @@ messages.getEmojiStatusGroups#2ecd56cd hash:int = messages.EmojiGroups;
messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups;
messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
messages.requestAppWebView#8c5a3b3c flags:# write_allowed:flags.0?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = AppWebViewResult;

updates.getState#edd4882a = updates.State;
updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
Expand Down Expand Up @@ -1850,7 +1869,7 @@ help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls;
help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate;
help.acceptTermsOfService#ee72f79a id:DataJSON = Bool;
help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo;
help.getAppConfig#98914110 = JSONValue;
help.getAppConfig#61e3f854 hash:int = help.AppConfig;
help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
help.getPassportConfig#c661ad08 hash:int = help.PassportConfig;
help.getSupportName#d360e72c = help.SupportName;
Expand Down Expand Up @@ -1927,6 +1946,8 @@ bots.setBotMenuButton#4504d54f user_id:InputUser button:BotMenuButton = Bool;
bots.getBotMenuButton#9c60eb28 user_id:InputUser = BotMenuButton;
bots.setBotBroadcastDefaultAdminRights#788464e1 admin_rights:ChatAdminRights = Bool;
bots.setBotGroupDefaultAdminRights#925ec9ea admin_rights:ChatAdminRights = Bool;
bots.setBotInfo#a365df7a flags:# lang_code:string about:flags.0?string description:flags.1?string = Bool;
bots.getBotInfo#75ec12e6 lang_code:string = Vector<string>;

payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
Expand All @@ -1940,13 +1961,16 @@ payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaym
payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;
payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;

stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
stickers.setStickerSetThumb#9a364e30 stickerset:InputStickerSet thumb:InputDocument = messages.StickerSet;
stickers.setStickerSetThumb#a76a5392 flags:# stickerset:InputStickerSet thumb:flags.0?InputDocument thumb_document_id:flags.1?long = messages.StickerSet;
stickers.checkShortName#284b3639 short_name:string = Bool;
stickers.suggestShortName#4dafc503 title:string = stickers.SuggestedShortName;
stickers.changeSticker#f5537ebc flags:# sticker:InputDocument emoji:flags.0?string mask_coords:flags.1?MaskCoords keywords:flags.2?string = messages.StickerSet;
stickers.renameStickerSet#124b1c00 stickerset:InputStickerSet title:string = messages.StickerSet;
stickers.deleteStickerSet#87704394 stickerset:InputStickerSet = Bool;

phone.getCallConfig#55451fa9 = DataJSON;
phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
Expand Down Expand Up @@ -1995,4 +2019,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;

// LAYER 152
// LAYER 155