@armatofik/tgsnake-core 1.0.0 → 1.13.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/package.json +2 -2
- package/lib/src/raw/All.d.ts +22 -14
- package/lib/src/raw/All.js +22 -14
- package/lib/src/raw/Raw.d.ts +170 -29
- package/lib/src/raw/Raw.js +606 -95
- package/package.json +2 -2
package/README.md
CHANGED
package/lib/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@armatofik/tgsnake-core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Pure Telegram MTProto library for Javascript or Typescript.
|
|
3
|
+
"version": "1.13.16",
|
|
4
|
+
"description": "Pure Telegram MTProto library for Javascript or Typescript.",
|
|
5
5
|
"main": "./lib/src/index.js",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@types/node": "22.14.0",
|
package/lib/src/raw/All.d.ts
CHANGED
|
@@ -138,15 +138,15 @@ export declare const AllTLObject: {
|
|
|
138
138
|
399807445: string;
|
|
139
139
|
640893467: string;
|
|
140
140
|
3839931037: string;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
954703838: string;
|
|
142
|
+
3791153080: string;
|
|
143
|
+
56677842: string;
|
|
144
144
|
2271466465: string;
|
|
145
145
|
1018991608: string;
|
|
146
146
|
935395612: string;
|
|
147
147
|
476978193: string;
|
|
148
148
|
2426849924: string;
|
|
149
|
-
|
|
149
|
+
988112002: string;
|
|
150
150
|
2055212554: string;
|
|
151
151
|
1038967584: string;
|
|
152
152
|
1766936791: string;
|
|
@@ -229,6 +229,8 @@ export declare const AllTLObject: {
|
|
|
229
229
|
1940760427: string;
|
|
230
230
|
2961100933: string;
|
|
231
231
|
3783807035: string;
|
|
232
|
+
3212666226: string;
|
|
233
|
+
1042781114: string;
|
|
232
234
|
3582593222: string;
|
|
233
235
|
1908216652: string;
|
|
234
236
|
590459437: string;
|
|
@@ -456,6 +458,7 @@ export declare const AllTLObject: {
|
|
|
456
458
|
3696816926: string;
|
|
457
459
|
4221326458: string;
|
|
458
460
|
2886149188: string;
|
|
461
|
+
3179505593: string;
|
|
459
462
|
2775329342: string;
|
|
460
463
|
1567990072: string;
|
|
461
464
|
16030880: string;
|
|
@@ -672,6 +675,7 @@ export declare const AllTLObject: {
|
|
|
672
675
|
852137487: string;
|
|
673
676
|
3369010680: string;
|
|
674
677
|
4056722092: string;
|
|
678
|
+
2420819911: string;
|
|
675
679
|
4002160262: string;
|
|
676
680
|
4082822184: string;
|
|
677
681
|
1536380829: string;
|
|
@@ -682,11 +686,11 @@ export declare const AllTLObject: {
|
|
|
682
686
|
543450958: string;
|
|
683
687
|
2496933607: string;
|
|
684
688
|
3447183703: string;
|
|
685
|
-
|
|
686
|
-
|
|
689
|
+
466961494: string;
|
|
690
|
+
2840037914: string;
|
|
687
691
|
803602899: string;
|
|
688
692
|
885242707: string;
|
|
689
|
-
|
|
693
|
+
3589320081: string;
|
|
690
694
|
453242886: string;
|
|
691
695
|
3728686201: string;
|
|
692
696
|
3026225513: string;
|
|
@@ -934,6 +938,7 @@ export declare const AllTLObject: {
|
|
|
934
938
|
1621597305: string;
|
|
935
939
|
1684286899: string;
|
|
936
940
|
3306682238: string;
|
|
941
|
+
1476834540: string;
|
|
937
942
|
531458253: string;
|
|
938
943
|
3985307469: string;
|
|
939
944
|
3926948580: string;
|
|
@@ -1060,7 +1065,7 @@ export declare const AllTLObject: {
|
|
|
1060
1065
|
4224893590: string;
|
|
1061
1066
|
3921323624: string;
|
|
1062
1067
|
3896830975: string;
|
|
1063
|
-
|
|
1068
|
+
4177062686: string;
|
|
1064
1069
|
1648005024: string;
|
|
1065
1070
|
2849430303: string;
|
|
1066
1071
|
3216354699: string;
|
|
@@ -1893,8 +1898,8 @@ export declare const AllTLObject: {
|
|
|
1893
1898
|
1318675378: string;
|
|
1894
1899
|
3585149990: string;
|
|
1895
1900
|
465367808: string;
|
|
1896
|
-
|
|
1897
|
-
|
|
1901
|
+
2303510940: string;
|
|
1902
|
+
1738797278: string;
|
|
1898
1903
|
1336717624: string;
|
|
1899
1904
|
4111889931: string;
|
|
1900
1905
|
3183150180: string;
|
|
@@ -1932,7 +1937,7 @@ export declare const AllTLObject: {
|
|
|
1932
1937
|
2625580816: string;
|
|
1933
1938
|
2145904661: string;
|
|
1934
1939
|
3766875370: string;
|
|
1935
|
-
|
|
1940
|
+
2986875445: string;
|
|
1936
1941
|
3439189910: string;
|
|
1937
1942
|
3540875476: string;
|
|
1938
1943
|
2344259814: string;
|
|
@@ -2025,6 +2030,11 @@ export declare const AllTLObject: {
|
|
|
2025
2030
|
3531697936: string;
|
|
2026
2031
|
4219374759: string;
|
|
2027
2032
|
2638284002: string;
|
|
2033
|
+
4148410455: string;
|
|
2034
|
+
998051494: string;
|
|
2035
|
+
2685350576: string;
|
|
2036
|
+
893610940: string;
|
|
2037
|
+
3382999819: string;
|
|
2028
2038
|
3990128682: string;
|
|
2029
2039
|
432207715: string;
|
|
2030
2040
|
51854712: string;
|
|
@@ -2075,7 +2085,7 @@ export declare const AllTLObject: {
|
|
|
2075
2085
|
176122811: string;
|
|
2076
2086
|
141781513: string;
|
|
2077
2087
|
2432722695: string;
|
|
2078
|
-
|
|
2088
|
+
2593697128: string;
|
|
2079
2089
|
1450044624: string;
|
|
2080
2090
|
4046346185: string;
|
|
2081
2091
|
283557164: string;
|
|
@@ -2096,7 +2106,6 @@ export declare const AllTLObject: {
|
|
|
2096
2106
|
2202135744: string;
|
|
2097
2107
|
4124758904: string;
|
|
2098
2108
|
1079520178: string;
|
|
2099
|
-
2402864415: string;
|
|
2100
2109
|
1491484525: string;
|
|
2101
2110
|
3990134512: string;
|
|
2102
2111
|
300429806: string;
|
|
@@ -2125,7 +2134,6 @@ export declare const AllTLObject: {
|
|
|
2125
2134
|
3974275302: string;
|
|
2126
2135
|
576090389: string;
|
|
2127
2136
|
897842353: string;
|
|
2128
|
-
2684950703: string;
|
|
2129
2137
|
2854709741: string;
|
|
2130
2138
|
3860938573: string;
|
|
2131
2139
|
85399130: string;
|
package/lib/src/raw/All.js
CHANGED
|
@@ -141,15 +141,15 @@ exports.AllTLObject = {
|
|
|
141
141
|
0x17d493d5: 'Raw.ChannelForbidden',
|
|
142
142
|
0x2633421b: 'Raw.ChatFull',
|
|
143
143
|
0xe4e0b29d: 'Raw.ChannelFull',
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
0x38e79fde: 'Raw.ChatParticipant',
|
|
145
|
+
0xe1f867b8: 'Raw.ChatParticipantCreator',
|
|
146
|
+
0x360d5d2: 'Raw.ChatParticipantAdmin',
|
|
147
147
|
0x8763d3e1: 'Raw.ChatParticipantsForbidden',
|
|
148
148
|
0x3cbc93f8: 'Raw.ChatParticipants',
|
|
149
149
|
0x37c1011c: 'Raw.ChatPhotoEmpty',
|
|
150
150
|
0x1c6e1c11: 'Raw.ChatPhoto',
|
|
151
151
|
0x90a6ca84: 'Raw.MessageEmpty',
|
|
152
|
-
|
|
152
|
+
0x3ae56482: 'Raw.Message',
|
|
153
153
|
0x7a800e0a: 'Raw.MessageService',
|
|
154
154
|
0x3ded6320: 'Raw.MessageMediaEmpty',
|
|
155
155
|
0x695150d7: 'Raw.MessageMediaPhoto',
|
|
@@ -232,6 +232,8 @@ exports.AllTLObject = {
|
|
|
232
232
|
0x73ada76b: 'Raw.MessageActionStarGiftPurchaseOfferDeclined',
|
|
233
233
|
0xb07ed085: 'Raw.MessageActionNewCreatorPending',
|
|
234
234
|
0xe188503b: 'Raw.MessageActionChangeCreator',
|
|
235
|
+
0xbf7d6572: 'Raw.MessageActionNoForwardsToggle',
|
|
236
|
+
0x3e2793ba: 'Raw.MessageActionNoForwardsRequest',
|
|
235
237
|
0xd58a08c6: 'Raw.Dialog',
|
|
236
238
|
0x71bd134c: 'Raw.DialogFolder',
|
|
237
239
|
0x2331b22d: 'Raw.PhotoEmpty',
|
|
@@ -459,6 +461,7 @@ exports.AllTLObject = {
|
|
|
459
461
|
0xdc58f31e: 'Raw.UpdateStarGiftAuctionUserState',
|
|
460
462
|
0xfb9c547a: 'Raw.UpdateEmojiGameInfo',
|
|
461
463
|
0xac072444: 'Raw.UpdateStarGiftCraftFail',
|
|
464
|
+
0xbd8367b9: 'Raw.UpdateChatParticipantRank',
|
|
462
465
|
0xa56c2a3e: 'Raw.updates.State',
|
|
463
466
|
0x5d75a138: 'Raw.updates.DifferenceEmpty',
|
|
464
467
|
0xf49ca0: 'Raw.updates.Difference',
|
|
@@ -675,6 +678,7 @@ exports.AllTLObject = {
|
|
|
675
678
|
0x32ca960f: 'Raw.MessageEntitySpoiler',
|
|
676
679
|
0xc8cf05f8: 'Raw.MessageEntityCustomEmoji',
|
|
677
680
|
0xf1ccaaac: 'Raw.MessageEntityBlockquote',
|
|
681
|
+
0x904ac7c7: 'Raw.MessageEntityFormattedDate',
|
|
678
682
|
0xee8c1e86: 'Raw.InputChannelEmpty',
|
|
679
683
|
0xf35aec28: 'Raw.InputChannel',
|
|
680
684
|
0x5b934f9d: 'Raw.InputChannelFromMessage',
|
|
@@ -685,11 +689,11 @@ exports.AllTLObject = {
|
|
|
685
689
|
0x2064674e: 'Raw.updates.ChannelDifference',
|
|
686
690
|
0x94d42ee7: 'Raw.ChannelMessagesFilterEmpty',
|
|
687
691
|
0xcd77d957: 'Raw.ChannelMessagesFilter',
|
|
688
|
-
|
|
689
|
-
|
|
692
|
+
0x1bd54456: 'Raw.ChannelParticipant',
|
|
693
|
+
0xa9478a1a: 'Raw.ChannelParticipantSelf',
|
|
690
694
|
0x2fe601d3: 'Raw.ChannelParticipantCreator',
|
|
691
695
|
0x34c3bb53: 'Raw.ChannelParticipantAdmin',
|
|
692
|
-
|
|
696
|
+
0xd5f0ad91: 'Raw.ChannelParticipantBanned',
|
|
693
697
|
0x1b03f006: 'Raw.ChannelParticipantLeft',
|
|
694
698
|
0xde3f3c79: 'Raw.ChannelParticipantsRecent',
|
|
695
699
|
0xb4608969: 'Raw.ChannelParticipantsAdmins',
|
|
@@ -937,6 +941,7 @@ exports.AllTLObject = {
|
|
|
937
941
|
0x60a79c79: 'Raw.ChannelAdminLogEventActionToggleSignatureProfiles',
|
|
938
942
|
0x64642db3: 'Raw.ChannelAdminLogEventActionParticipantSubExtend',
|
|
939
943
|
0xc517f77e: 'Raw.ChannelAdminLogEventActionToggleAutotranslation',
|
|
944
|
+
0x5806b4ec: 'Raw.ChannelAdminLogEventActionParticipantEditRank',
|
|
940
945
|
0x1fad68cd: 'Raw.ChannelAdminLogEvent',
|
|
941
946
|
0xed8af74d: 'Raw.channels.AdminLogResults',
|
|
942
947
|
0xea107ae4: 'Raw.ChannelAdminLogEventsFilter',
|
|
@@ -1063,7 +1068,7 @@ exports.AllTLObject = {
|
|
|
1063
1068
|
0xfbd2c296: 'Raw.InputFolderPeer',
|
|
1064
1069
|
0xe9baa668: 'Raw.FolderPeer',
|
|
1065
1070
|
0xe844ebff: 'Raw.messages.SearchCounter',
|
|
1066
|
-
|
|
1071
|
+
0xf8f8eb1e: 'Raw.UrlAuthResultRequest',
|
|
1067
1072
|
0x623a8fa0: 'Raw.UrlAuthResultAccepted',
|
|
1068
1073
|
0xa9d6db1f: 'Raw.UrlAuthResultDefault',
|
|
1069
1074
|
0xbfb5ad8b: 'Raw.ChannelLocationEmpty',
|
|
@@ -1896,8 +1901,8 @@ exports.AllTLObject = {
|
|
|
1896
1901
|
0x4e9963b2: 'Raw.messages.GetEmojiKeywordsLanguages',
|
|
1897
1902
|
0xd5b10c26: 'Raw.messages.GetEmojiURL',
|
|
1898
1903
|
0x1bbcf300: 'Raw.messages.GetSearchCounters',
|
|
1899
|
-
|
|
1900
|
-
|
|
1904
|
+
0x894cc99c: 'Raw.messages.RequestUrlAuth',
|
|
1905
|
+
0x67a3f0de: 'Raw.messages.AcceptUrlAuth',
|
|
1901
1906
|
0x4facb138: 'Raw.messages.HidePeerSettingsBar',
|
|
1902
1907
|
0xf516760b: 'Raw.messages.GetScheduledHistory',
|
|
1903
1908
|
0xbdbb0464: 'Raw.messages.GetScheduledMessages',
|
|
@@ -1935,7 +1940,7 @@ exports.AllTLObject = {
|
|
|
1935
1940
|
0x9c7f2f10: 'Raw.messages.GetSearchResultsPositions',
|
|
1936
1941
|
0x7fe7e815: 'Raw.messages.HideChatJoinRequest',
|
|
1937
1942
|
0xe085f4ea: 'Raw.messages.HideAllChatJoinRequests',
|
|
1938
|
-
|
|
1943
|
+
0xb2081a35: 'Raw.messages.ToggleNoForwards',
|
|
1939
1944
|
0xccfddf96: 'Raw.messages.SaveDefaultSendAs',
|
|
1940
1945
|
0xd30d78d4: 'Raw.messages.SendReaction',
|
|
1941
1946
|
0x8bba90e6: 'Raw.messages.GetMessagesReactions',
|
|
@@ -2028,6 +2033,11 @@ exports.AllTLObject = {
|
|
|
2028
2033
|
0xd2816f10: 'Raw.messages.DeleteTopicHistory',
|
|
2029
2034
|
0xfb7e8ca7: 'Raw.messages.GetEmojiGameInfo',
|
|
2030
2035
|
0x9d4104e2: 'Raw.messages.SummarizeText',
|
|
2036
|
+
0xf743b857: 'Raw.messages.EditChatCreator',
|
|
2037
|
+
0x3b7d0ea6: 'Raw.messages.GetFutureChatCreatorAfterLeave',
|
|
2038
|
+
0xa00f32b0: 'Raw.messages.EditChatParticipantRank',
|
|
2039
|
+
0x35436bbc: 'Raw.messages.DeclineUrlAuth',
|
|
2040
|
+
0xc9a47b0b: 'Raw.messages.CheckUrlAuthMatchCode',
|
|
2031
2041
|
0xedd4882a: 'Raw.updates.GetState',
|
|
2032
2042
|
0x19c2f763: 'Raw.updates.GetDifference',
|
|
2033
2043
|
0x3173d78: 'Raw.updates.GetChannelDifference',
|
|
@@ -2078,7 +2088,7 @@ exports.AllTLObject = {
|
|
|
2078
2088
|
0xa7f6bbb: 'Raw.channels.GetChannels',
|
|
2079
2089
|
0x8736a09: 'Raw.channels.GetFullChannel',
|
|
2080
2090
|
0x91006707: 'Raw.channels.CreateChannel',
|
|
2081
|
-
|
|
2091
|
+
0x9a98ad68: 'Raw.channels.EditAdmin',
|
|
2082
2092
|
0x566decd0: 'Raw.channels.EditTitle',
|
|
2083
2093
|
0xf12e57c9: 'Raw.channels.EditPhoto',
|
|
2084
2094
|
0x10e6bd2c: 'Raw.channels.CheckUsername',
|
|
@@ -2099,7 +2109,6 @@ exports.AllTLObject = {
|
|
|
2099
2109
|
0x8341ecc0: 'Raw.channels.GetLeftChannels',
|
|
2100
2110
|
0xf5dad378: 'Raw.channels.GetGroupsForDiscussion',
|
|
2101
2111
|
0x40582bb2: 'Raw.channels.SetDiscussionGroup',
|
|
2102
|
-
0x8f38cd1f: 'Raw.channels.EditCreator',
|
|
2103
2112
|
0x58e63f6d: 'Raw.channels.EditLocation',
|
|
2104
2113
|
0xedd49ef0: 'Raw.channels.ToggleSlowMode',
|
|
2105
2114
|
0x11e831ee: 'Raw.channels.GetInactiveChannels',
|
|
@@ -2128,7 +2137,6 @@ exports.AllTLObject = {
|
|
|
2128
2137
|
0xece2a0e6: 'Raw.channels.GetMessageAuthor',
|
|
2129
2138
|
0x22567115: 'Raw.channels.CheckSearchPostsFlood',
|
|
2130
2139
|
0x3583fcb1: 'Raw.channels.SetMainProfileTab',
|
|
2131
|
-
0xa00918af: 'Raw.channels.GetFutureCreatorAfterLeave',
|
|
2132
2140
|
0xaa2769ed: 'Raw.bots.SendCustomRequest',
|
|
2133
2141
|
0xe6213f4d: 'Raw.bots.AnswerWebhookJSONQuery',
|
|
2134
2142
|
0x517165a: 'Raw.bots.SetBotCommands',
|