@mtkruto/browser 0.141.0 → 0.143.0
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/esm/0_deps.d.ts +4 -4
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +4 -4
- package/esm/3_types.d.ts +1 -0
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +1 -0
- package/esm/client/0_params.d.ts +10 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_generic.d.ts +50 -3
- package/esm/client/1_client_generic.d.ts.map +1 -1
- package/esm/client/2_managed_bot_manager.d.ts +28 -0
- package/esm/client/2_managed_bot_manager.d.ts.map +1 -0
- package/esm/client/2_managed_bot_manager.js +37 -0
- package/esm/client/3_account_manager.d.ts +2 -1
- package/esm/client/3_account_manager.d.ts.map +1 -1
- package/esm/client/3_account_manager.js +17 -2
- package/esm/client/3_filters.d.ts +6 -1
- package/esm/client/3_filters.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts +8 -5
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +40 -11
- package/esm/client/4_context.d.ts +8 -0
- package/esm/client/4_context.d.ts.map +1 -1
- package/esm/client/4_context.js +21 -1
- package/esm/client/6_client.d.ts +50 -3
- package/esm/client/6_client.d.ts.map +1 -1
- package/esm/client/6_client.js +71 -2
- package/esm/client/6_client_dispatcher.d.ts +50 -3
- package/esm/client/6_client_dispatcher.d.ts.map +1 -1
- package/esm/client/6_client_dispatcher.js +67 -2
- package/esm/deps/jsr.io/@std/assert/1.0.19/equals.js +4 -4
- package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/async/1.2.0 → esm/deps/jsr.io/@std/async/1.3.0}/pool.d.ts +2 -0
- package/esm/deps/jsr.io/@std/async/1.3.0/pool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/pool.js +5 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.js +27 -16
- package/{script/deps/jsr.io/@std/cache/0.2.2 → esm/deps/jsr.io/@std/cache/0.2.3}/lru_cache.d.ts +109 -25
- package/esm/deps/jsr.io/@std/cache/0.2.3/lru_cache.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/0.2.3/lru_cache.js +299 -0
- package/{script/deps/jsr.io/@std/cache/0.2.2 → esm/deps/jsr.io/@std/cache/0.2.3}/memoize.d.ts +18 -10
- package/esm/deps/jsr.io/@std/cache/0.2.3/memoize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/memoize.js +11 -7
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.js +3 -3
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.js +3 -3
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.13/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/join.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/streams/1.1.0/to_array_buffer.d.ts.map +1 -0
- package/esm/tl/1_telegram_api.d.ts +251 -5
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +271 -11
- package/esm/types/1_chat_p.d.ts +2 -0
- package/esm/types/1_chat_p.d.ts.map +1 -1
- package/esm/types/1_chat_p.js +1 -0
- package/esm/types/2_user.d.ts +2 -0
- package/esm/types/2_user.d.ts.map +1 -1
- package/esm/types/2_user.js +1 -0
- package/esm/types/4_poll.d.ts +2 -0
- package/esm/types/4_poll.d.ts.map +1 -1
- package/esm/types/4_poll.js +1 -0
- package/esm/types/7_guest_query.d.ts +28 -0
- package/esm/types/7_guest_query.d.ts.map +1 -0
- package/esm/types/7_guest_query.js +20 -0
- package/esm/types/8_update.d.ts +19 -1
- package/esm/types/8_update.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +4 -4
- package/script/3_types.d.ts +1 -0
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +1 -0
- package/script/client/0_params.d.ts +10 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/1_client_generic.d.ts +50 -3
- package/script/client/1_client_generic.d.ts.map +1 -1
- package/script/client/2_managed_bot_manager.d.ts +28 -0
- package/script/client/2_managed_bot_manager.d.ts.map +1 -0
- package/script/client/2_managed_bot_manager.js +41 -0
- package/script/client/3_account_manager.d.ts +2 -1
- package/script/client/3_account_manager.d.ts.map +1 -1
- package/script/client/3_account_manager.js +17 -2
- package/script/client/3_filters.d.ts +6 -1
- package/script/client/3_filters.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts +8 -5
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +38 -9
- package/script/client/4_context.d.ts +8 -0
- package/script/client/4_context.d.ts.map +1 -1
- package/script/client/4_context.js +21 -1
- package/script/client/6_client.d.ts +50 -3
- package/script/client/6_client.d.ts.map +1 -1
- package/script/client/6_client.js +71 -2
- package/script/client/6_client_dispatcher.d.ts +50 -3
- package/script/client/6_client_dispatcher.d.ts.map +1 -1
- package/script/client/6_client_dispatcher.js +67 -2
- package/script/deps/jsr.io/@std/assert/1.0.19/equals.js +4 -4
- package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/async/1.2.0 → script/deps/jsr.io/@std/async/1.3.0}/pool.d.ts +2 -0
- package/script/deps/jsr.io/@std/async/1.3.0/pool.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/pool.js +5 -1
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.js +27 -16
- package/{esm/deps/jsr.io/@std/cache/0.2.2 → script/deps/jsr.io/@std/cache/0.2.3}/lru_cache.d.ts +109 -25
- package/script/deps/jsr.io/@std/cache/0.2.3/lru_cache.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/lru_cache.js +149 -38
- package/{esm/deps/jsr.io/@std/cache/0.2.2 → script/deps/jsr.io/@std/cache/0.2.3}/memoize.d.ts +18 -10
- package/script/deps/jsr.io/@std/cache/0.2.3/memoize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/memoize.js +11 -7
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.js +3 -3
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.js +3 -3
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/basename.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/extname.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/join.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.js +1 -1
- package/script/deps/jsr.io/@std/streams/1.1.0/to_array_buffer.d.ts.map +1 -0
- package/script/tl/1_telegram_api.d.ts +251 -5
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +271 -11
- package/script/types/1_chat_p.d.ts +2 -0
- package/script/types/1_chat_p.d.ts.map +1 -1
- package/script/types/1_chat_p.js +1 -0
- package/script/types/2_user.d.ts +2 -0
- package/script/types/2_user.d.ts.map +1 -1
- package/script/types/2_user.js +1 -0
- package/script/types/4_poll.d.ts +2 -0
- package/script/types/4_poll.d.ts.map +1 -1
- package/script/types/4_poll.js +1 -0
- package/script/types/7_guest_query.d.ts +28 -0
- package/script/types/7_guest_query.d.ts.map +1 -0
- package/script/types/7_guest_query.js +21 -0
- package/script/types/8_update.d.ts +19 -1
- package/script/types/8_update.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.js +0 -188
- package/esm/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/types.js +0 -3
- package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.js +0 -0
- /package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.js +0 -0
- /package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.js +0 -0
package/esm/tl/1_telegram_api.js
CHANGED
|
@@ -671,6 +671,7 @@ export const schema = Object.freeze({
|
|
|
671
671
|
["bot_forum_view", "flags2.16?true"],
|
|
672
672
|
["bot_forum_can_manage_topics", "flags2.17?true"],
|
|
673
673
|
["bot_can_manage_bots", "flags2.18?true"],
|
|
674
|
+
["bot_guestchat", "flags2.19?true"],
|
|
674
675
|
["id", "long"],
|
|
675
676
|
["access_hash", "flags.0?long"],
|
|
676
677
|
["first_name", "flags.1?string"],
|
|
@@ -1038,7 +1039,7 @@ export const schema = Object.freeze({
|
|
|
1038
1039
|
"Message",
|
|
1039
1040
|
],
|
|
1040
1041
|
message: [
|
|
1041
|
-
|
|
1042
|
+
0x95EF6F2B,
|
|
1042
1043
|
[
|
|
1043
1044
|
["flags", "#"],
|
|
1044
1045
|
["out", "flags.1?true"],
|
|
@@ -1066,6 +1067,7 @@ export const schema = Object.freeze({
|
|
|
1066
1067
|
["fwd_from", "flags.2?MessageFwdHeader"],
|
|
1067
1068
|
["via_bot_id", "flags.11?long"],
|
|
1068
1069
|
["via_business_bot_id", "flags2.0?long"],
|
|
1070
|
+
["guestchat_via_from", "flags2.19?Peer"],
|
|
1069
1071
|
["reply_to", "flags.3?MessageReplyHeader"],
|
|
1070
1072
|
["date", "int"],
|
|
1071
1073
|
["message", "string"],
|
|
@@ -2084,12 +2086,13 @@ export const schema = Object.freeze({
|
|
|
2084
2086
|
"auth.SentCode",
|
|
2085
2087
|
],
|
|
2086
2088
|
"auth.sentCodePaymentRequired": [
|
|
2087
|
-
|
|
2089
|
+
0xF8827EBF,
|
|
2088
2090
|
[
|
|
2089
2091
|
["store_product", "string"],
|
|
2090
2092
|
["phone_code_hash", "string"],
|
|
2091
2093
|
["support_email_address", "string"],
|
|
2092
2094
|
["support_email_subject", "string"],
|
|
2095
|
+
["premium_days", "int"],
|
|
2093
2096
|
["currency", "string"],
|
|
2094
2097
|
["amount", "long"],
|
|
2095
2098
|
],
|
|
@@ -3985,6 +3988,22 @@ export const schema = Object.freeze({
|
|
|
3985
3988
|
],
|
|
3986
3989
|
"Update",
|
|
3987
3990
|
],
|
|
3991
|
+
updateBotGuestChatQuery: [
|
|
3992
|
+
0xCDD4093D,
|
|
3993
|
+
[
|
|
3994
|
+
["flags", "#"],
|
|
3995
|
+
["query_id", "long"],
|
|
3996
|
+
["message", "Message"],
|
|
3997
|
+
["reference_messages", "flags.0?Vector<Message>"],
|
|
3998
|
+
["qts", "int"],
|
|
3999
|
+
],
|
|
4000
|
+
"Update",
|
|
4001
|
+
],
|
|
4002
|
+
updateAiComposeTones: [
|
|
4003
|
+
0x8C0F91FB,
|
|
4004
|
+
[],
|
|
4005
|
+
"Update",
|
|
4006
|
+
],
|
|
3988
4007
|
"updates.state": [
|
|
3989
4008
|
0xA56C2A3E,
|
|
3990
4009
|
[
|
|
@@ -6651,6 +6670,11 @@ export const schema = Object.freeze({
|
|
|
6651
6670
|
[],
|
|
6652
6671
|
"TopPeerCategory",
|
|
6653
6672
|
],
|
|
6673
|
+
topPeerCategoryBotsGuestChat: [
|
|
6674
|
+
0x6C24F3DD,
|
|
6675
|
+
[],
|
|
6676
|
+
"TopPeerCategory",
|
|
6677
|
+
],
|
|
6654
6678
|
topPeerCategoryPeers: [
|
|
6655
6679
|
0xFB834291,
|
|
6656
6680
|
[
|
|
@@ -9022,7 +9046,7 @@ export const schema = Object.freeze({
|
|
|
9022
9046
|
"PollAnswer",
|
|
9023
9047
|
],
|
|
9024
9048
|
poll: [
|
|
9025
|
-
|
|
9049
|
+
0x966E2DBF,
|
|
9026
9050
|
[
|
|
9027
9051
|
["id", "long"],
|
|
9028
9052
|
["flags", "#"],
|
|
@@ -9035,10 +9059,12 @@ export const schema = Object.freeze({
|
|
|
9035
9059
|
["shuffle_answers", "flags.8?true"],
|
|
9036
9060
|
["hide_results_until_close", "flags.9?true"],
|
|
9037
9061
|
["creator", "flags.10?true"],
|
|
9062
|
+
["subscribers_only", "flags.11?true"],
|
|
9038
9063
|
["question", "TextWithEntities"],
|
|
9039
9064
|
["answers", "Vector<PollAnswer>"],
|
|
9040
9065
|
["close_period", "flags.4?int"],
|
|
9041
9066
|
["close_date", "flags.5?int"],
|
|
9067
|
+
["countries_iso2", "flags.12?Vector<string>"],
|
|
9042
9068
|
["hash", "long"],
|
|
9043
9069
|
],
|
|
9044
9070
|
"Poll",
|
|
@@ -9061,6 +9087,7 @@ export const schema = Object.freeze({
|
|
|
9061
9087
|
["flags", "#"],
|
|
9062
9088
|
["min", "flags.0?true"],
|
|
9063
9089
|
["has_unread_votes", "flags.6?true"],
|
|
9090
|
+
["can_view_stats", "flags.7?true"],
|
|
9064
9091
|
["results", "flags.1?Vector<PollAnswerVoters>"],
|
|
9065
9092
|
["total_voters", "flags.2?int"],
|
|
9066
9093
|
["recent_voters", "flags.3?Vector<Peer>"],
|
|
@@ -9133,6 +9160,7 @@ export const schema = Object.freeze({
|
|
|
9133
9160
|
["send_docs", "flags.24?true"],
|
|
9134
9161
|
["send_plain", "flags.25?true"],
|
|
9135
9162
|
["edit_rank", "flags.26?true"],
|
|
9163
|
+
["send_reactions", "flags.27?true"],
|
|
9136
9164
|
["until_date", "int"],
|
|
9137
9165
|
],
|
|
9138
9166
|
"ChatBannedRights",
|
|
@@ -9571,6 +9599,13 @@ export const schema = Object.freeze({
|
|
|
9571
9599
|
],
|
|
9572
9600
|
"WebPageAttribute",
|
|
9573
9601
|
],
|
|
9602
|
+
webPageAttributeAiComposeTone: [
|
|
9603
|
+
0x7781FE18,
|
|
9604
|
+
[
|
|
9605
|
+
["emoji_id", "long"],
|
|
9606
|
+
],
|
|
9607
|
+
"WebPageAttribute",
|
|
9608
|
+
],
|
|
9574
9609
|
"messages.votesList": [
|
|
9575
9610
|
0x4899484E,
|
|
9576
9611
|
[
|
|
@@ -10985,12 +11020,13 @@ export const schema = Object.freeze({
|
|
|
10985
11020
|
"InputStorePaymentPurpose",
|
|
10986
11021
|
],
|
|
10987
11022
|
inputStorePaymentAuthCode: [
|
|
10988
|
-
|
|
11023
|
+
0x3FC18057,
|
|
10989
11024
|
[
|
|
10990
11025
|
["flags", "#"],
|
|
10991
11026
|
["restore", "flags.0?true"],
|
|
10992
11027
|
["phone_number", "string"],
|
|
10993
11028
|
["phone_code_hash", "string"],
|
|
11029
|
+
["premium_days", "int"],
|
|
10994
11030
|
["currency", "string"],
|
|
10995
11031
|
["amount", "long"],
|
|
10996
11032
|
],
|
|
@@ -14339,6 +14375,92 @@ export const schema = Object.freeze({
|
|
|
14339
14375
|
],
|
|
14340
14376
|
"messages.ComposedMessageWithAI",
|
|
14341
14377
|
],
|
|
14378
|
+
"stats.pollStats": [
|
|
14379
|
+
0x2999BEED,
|
|
14380
|
+
[
|
|
14381
|
+
["votes_graph", "StatsGraph"],
|
|
14382
|
+
],
|
|
14383
|
+
"stats.PollStats",
|
|
14384
|
+
],
|
|
14385
|
+
inputAiComposeToneDefault: [
|
|
14386
|
+
0x1FE9A9BF,
|
|
14387
|
+
[
|
|
14388
|
+
["tone", "string"],
|
|
14389
|
+
],
|
|
14390
|
+
"InputAiComposeTone",
|
|
14391
|
+
],
|
|
14392
|
+
inputAiComposeToneID: [
|
|
14393
|
+
0x0773C080,
|
|
14394
|
+
[
|
|
14395
|
+
["id", "long"],
|
|
14396
|
+
["access_hash", "long"],
|
|
14397
|
+
],
|
|
14398
|
+
"InputAiComposeTone",
|
|
14399
|
+
],
|
|
14400
|
+
inputAiComposeToneSlug: [
|
|
14401
|
+
0x1FA01357,
|
|
14402
|
+
[
|
|
14403
|
+
["slug", "string"],
|
|
14404
|
+
],
|
|
14405
|
+
"InputAiComposeTone",
|
|
14406
|
+
],
|
|
14407
|
+
aiComposeTone: [
|
|
14408
|
+
0xCFF63EA9,
|
|
14409
|
+
[
|
|
14410
|
+
["flags", "#"],
|
|
14411
|
+
["creator", "flags.0?true"],
|
|
14412
|
+
["id", "long"],
|
|
14413
|
+
["access_hash", "long"],
|
|
14414
|
+
["slug", "string"],
|
|
14415
|
+
["title", "string"],
|
|
14416
|
+
["emoji_id", "flags.1?long"],
|
|
14417
|
+
["prompt", "flags.4?string"],
|
|
14418
|
+
["installs_count", "flags.2?int"],
|
|
14419
|
+
["author_id", "flags.3?long"],
|
|
14420
|
+
["example_english", "flags.5?AiComposeToneExample"],
|
|
14421
|
+
],
|
|
14422
|
+
"AiComposeTone",
|
|
14423
|
+
],
|
|
14424
|
+
aiComposeToneDefault: [
|
|
14425
|
+
0x9BAD6414,
|
|
14426
|
+
[
|
|
14427
|
+
["tone", "string"],
|
|
14428
|
+
["emoji_id", "long"],
|
|
14429
|
+
["title", "string"],
|
|
14430
|
+
],
|
|
14431
|
+
"AiComposeTone",
|
|
14432
|
+
],
|
|
14433
|
+
"aicompose.tonesNotModified": [
|
|
14434
|
+
0xC1F46103,
|
|
14435
|
+
[],
|
|
14436
|
+
"aicompose.Tones",
|
|
14437
|
+
],
|
|
14438
|
+
"aicompose.tones": [
|
|
14439
|
+
0x6C9D0EFE,
|
|
14440
|
+
[
|
|
14441
|
+
["hash", "long"],
|
|
14442
|
+
["tones", "Vector<AiComposeTone>"],
|
|
14443
|
+
["users", "Vector<User>"],
|
|
14444
|
+
],
|
|
14445
|
+
"aicompose.Tones",
|
|
14446
|
+
],
|
|
14447
|
+
aiComposeToneExample: [
|
|
14448
|
+
0xF1D628EC,
|
|
14449
|
+
[
|
|
14450
|
+
["from", "TextWithEntities"],
|
|
14451
|
+
["to", "TextWithEntities"],
|
|
14452
|
+
],
|
|
14453
|
+
"AiComposeToneExample",
|
|
14454
|
+
],
|
|
14455
|
+
"bots.accessSettings": [
|
|
14456
|
+
0xDD1FBF93,
|
|
14457
|
+
[
|
|
14458
|
+
["flags", "#"],
|
|
14459
|
+
["restricted", "flags.0?true"],
|
|
14460
|
+
["add_users", "flags.1?Vector<User>"],
|
|
14461
|
+
],
|
|
14462
|
+
"bots.AccessSettings",
|
|
14463
|
+
],
|
|
14342
14464
|
invokeWithBusinessConnectionPrefix: [
|
|
14343
14465
|
0xDD289F8E,
|
|
14344
14466
|
[
|
|
@@ -15773,6 +15895,7 @@ export const schema = Object.freeze({
|
|
|
15773
15895
|
["groups", "flags.10?true"],
|
|
15774
15896
|
["channels", "flags.15?true"],
|
|
15775
15897
|
["bots_app", "flags.16?true"],
|
|
15898
|
+
["bots_guestchat", "flags.17?true"],
|
|
15776
15899
|
["offset", "int"],
|
|
15777
15900
|
["limit", "int"],
|
|
15778
15901
|
["hash", "long"],
|
|
@@ -18247,14 +18370,14 @@ export const schema = Object.freeze({
|
|
|
18247
18370
|
"Bool",
|
|
18248
18371
|
],
|
|
18249
18372
|
"messages.composeMessageWithAI": [
|
|
18250
|
-
|
|
18373
|
+
0xDAECC589,
|
|
18251
18374
|
[
|
|
18252
18375
|
["flags", "#"],
|
|
18253
18376
|
["proofread", "flags.0?true"],
|
|
18254
18377
|
["emojify", "flags.3?true"],
|
|
18255
18378
|
["text", "TextWithEntities"],
|
|
18256
18379
|
["translate_to_lang", "flags.1?string"],
|
|
18257
|
-
["
|
|
18380
|
+
["tone", "flags.2?InputAiComposeTone"],
|
|
18258
18381
|
],
|
|
18259
18382
|
"messages.ComposedMessageWithAI",
|
|
18260
18383
|
],
|
|
@@ -18315,6 +18438,42 @@ export const schema = Object.freeze({
|
|
|
18315
18438
|
],
|
|
18316
18439
|
"messages.AffectedHistory",
|
|
18317
18440
|
],
|
|
18441
|
+
"messages.setBotGuestChatResult": [
|
|
18442
|
+
0xB8F106E3,
|
|
18443
|
+
[
|
|
18444
|
+
["query_id", "long"],
|
|
18445
|
+
["result", "InputBotInlineResult"],
|
|
18446
|
+
],
|
|
18447
|
+
"InputBotInlineMessageID",
|
|
18448
|
+
],
|
|
18449
|
+
"messages.deleteParticipantReactions": [
|
|
18450
|
+
0xA0B80CF8,
|
|
18451
|
+
[
|
|
18452
|
+
["peer", "InputPeer"],
|
|
18453
|
+
["participant", "InputPeer"],
|
|
18454
|
+
],
|
|
18455
|
+
"Bool",
|
|
18456
|
+
],
|
|
18457
|
+
"messages.deleteParticipantReaction": [
|
|
18458
|
+
0xE3B7F82C,
|
|
18459
|
+
[
|
|
18460
|
+
["peer", "InputPeer"],
|
|
18461
|
+
["msg_id", "int"],
|
|
18462
|
+
["participant", "InputPeer"],
|
|
18463
|
+
],
|
|
18464
|
+
"Updates",
|
|
18465
|
+
],
|
|
18466
|
+
"messages.getPersonalChannelHistory": [
|
|
18467
|
+
0x55FB0996,
|
|
18468
|
+
[
|
|
18469
|
+
["user_id", "InputUser"],
|
|
18470
|
+
["limit", "int"],
|
|
18471
|
+
["max_id", "int"],
|
|
18472
|
+
["min_id", "int"],
|
|
18473
|
+
["hash", "long"],
|
|
18474
|
+
],
|
|
18475
|
+
"messages.Messages",
|
|
18476
|
+
],
|
|
18318
18477
|
"updates.getState": [
|
|
18319
18478
|
0xEDD4882A,
|
|
18320
18479
|
[],
|
|
@@ -19422,6 +19581,23 @@ export const schema = Object.freeze({
|
|
|
19422
19581
|
],
|
|
19423
19582
|
"KeyboardButton",
|
|
19424
19583
|
],
|
|
19584
|
+
"bots.getAccessSettings": [
|
|
19585
|
+
0x213853A3,
|
|
19586
|
+
[
|
|
19587
|
+
["bot", "InputUser"],
|
|
19588
|
+
],
|
|
19589
|
+
"bots.AccessSettings",
|
|
19590
|
+
],
|
|
19591
|
+
"bots.editAccessSettings": [
|
|
19592
|
+
0x31813CD8,
|
|
19593
|
+
[
|
|
19594
|
+
["flags", "#"],
|
|
19595
|
+
["restricted", "flags.0?true"],
|
|
19596
|
+
["bot", "InputUser"],
|
|
19597
|
+
["add_users", "flags.1?Vector<InputUser>"],
|
|
19598
|
+
],
|
|
19599
|
+
"Bool",
|
|
19600
|
+
],
|
|
19425
19601
|
"payments.getPaymentForm": [
|
|
19426
19602
|
0x37148DBB,
|
|
19427
19603
|
[
|
|
@@ -20605,6 +20781,16 @@ export const schema = Object.freeze({
|
|
|
20605
20781
|
],
|
|
20606
20782
|
"stats.PublicForwards",
|
|
20607
20783
|
],
|
|
20784
|
+
"stats.getPollStats": [
|
|
20785
|
+
0xC27DFA68,
|
|
20786
|
+
[
|
|
20787
|
+
["flags", "#"],
|
|
20788
|
+
["dark", "flags.0?true"],
|
|
20789
|
+
["peer", "InputPeer"],
|
|
20790
|
+
["msg_id", "int"],
|
|
20791
|
+
],
|
|
20792
|
+
"stats.PollStats",
|
|
20793
|
+
],
|
|
20608
20794
|
"chatlists.exportChatlistInvite": [
|
|
20609
20795
|
0x8472478E,
|
|
20610
20796
|
[
|
|
@@ -21102,6 +21288,66 @@ export const schema = Object.freeze({
|
|
|
21102
21288
|
],
|
|
21103
21289
|
"fragment.CollectibleInfo",
|
|
21104
21290
|
],
|
|
21291
|
+
"aicompose.createTone": [
|
|
21292
|
+
0x4AA83913,
|
|
21293
|
+
[
|
|
21294
|
+
["flags", "#"],
|
|
21295
|
+
["display_author", "flags.0?true"],
|
|
21296
|
+
["emoji_id", "long"],
|
|
21297
|
+
["title", "string"],
|
|
21298
|
+
["prompt", "string"],
|
|
21299
|
+
],
|
|
21300
|
+
"AiComposeTone",
|
|
21301
|
+
],
|
|
21302
|
+
"aicompose.updateTone": [
|
|
21303
|
+
0x903BCF59,
|
|
21304
|
+
[
|
|
21305
|
+
["flags", "#"],
|
|
21306
|
+
["tone", "InputAiComposeTone"],
|
|
21307
|
+
["display_author", "flags.0?Bool"],
|
|
21308
|
+
["emoji_id", "flags.1?long"],
|
|
21309
|
+
["title", "flags.2?string"],
|
|
21310
|
+
["prompt", "flags.3?string"],
|
|
21311
|
+
],
|
|
21312
|
+
"AiComposeTone",
|
|
21313
|
+
],
|
|
21314
|
+
"aicompose.saveTone": [
|
|
21315
|
+
0x1782CBB1,
|
|
21316
|
+
[
|
|
21317
|
+
["tone", "InputAiComposeTone"],
|
|
21318
|
+
["unsave", "Bool"],
|
|
21319
|
+
],
|
|
21320
|
+
"Bool",
|
|
21321
|
+
],
|
|
21322
|
+
"aicompose.deleteTone": [
|
|
21323
|
+
0xDD39316A,
|
|
21324
|
+
[
|
|
21325
|
+
["tone", "InputAiComposeTone"],
|
|
21326
|
+
],
|
|
21327
|
+
"Bool",
|
|
21328
|
+
],
|
|
21329
|
+
"aicompose.getTone": [
|
|
21330
|
+
0xB2E8BA03,
|
|
21331
|
+
[
|
|
21332
|
+
["tone", "InputAiComposeTone"],
|
|
21333
|
+
],
|
|
21334
|
+
"aicompose.Tones",
|
|
21335
|
+
],
|
|
21336
|
+
"aicompose.getTones": [
|
|
21337
|
+
0xABD59201,
|
|
21338
|
+
[
|
|
21339
|
+
["hash", "long"],
|
|
21340
|
+
],
|
|
21341
|
+
"aicompose.Tones",
|
|
21342
|
+
],
|
|
21343
|
+
"aicompose.getToneExample": [
|
|
21344
|
+
0xD1B4AB14,
|
|
21345
|
+
[
|
|
21346
|
+
["tone", "InputAiComposeTone"],
|
|
21347
|
+
["num", "int"],
|
|
21348
|
+
],
|
|
21349
|
+
"AiComposeToneExample",
|
|
21350
|
+
],
|
|
21105
21351
|
},
|
|
21106
21352
|
identifierToName: {
|
|
21107
21353
|
[0x3FEDD339]: "true",
|
|
@@ -21202,7 +21448,7 @@ export const schema = Object.freeze({
|
|
|
21202
21448
|
[0x37C1011C]: "chatPhotoEmpty",
|
|
21203
21449
|
[0x1C6E1C11]: "chatPhoto",
|
|
21204
21450
|
[0x90A6CA84]: "messageEmpty",
|
|
21205
|
-
[
|
|
21451
|
+
[0x95EF6F2B]: "message",
|
|
21206
21452
|
[0x7A800E0A]: "messageService",
|
|
21207
21453
|
[0x3DED6320]: "messageMediaEmpty",
|
|
21208
21454
|
[0xE216EB63]: "messageMediaPhoto",
|
|
@@ -21304,7 +21550,7 @@ export const schema = Object.freeze({
|
|
|
21304
21550
|
[0xB2A2F663]: "geoPoint",
|
|
21305
21551
|
[0x5E002502]: "auth.sentCode",
|
|
21306
21552
|
[0x2390FE44]: "auth.sentCodeSuccess",
|
|
21307
|
-
[
|
|
21553
|
+
[0xF8827EBF]: "auth.sentCodePaymentRequired",
|
|
21308
21554
|
[0x2EA2C0D4]: "auth.authorization",
|
|
21309
21555
|
[0x44747E9A]: "auth.authorizationSignUpRequired",
|
|
21310
21556
|
[0xB434E2B8]: "auth.exportedAuthorization",
|
|
@@ -21520,6 +21766,8 @@ export const schema = Object.freeze({
|
|
|
21520
21766
|
[0xAC072444]: "updateStarGiftCraftFail",
|
|
21521
21767
|
[0xBD8367B9]: "updateChatParticipantRank",
|
|
21522
21768
|
[0x4880ED9A]: "updateManagedBot",
|
|
21769
|
+
[0xCDD4093D]: "updateBotGuestChatQuery",
|
|
21770
|
+
[0x8C0F91FB]: "updateAiComposeTones",
|
|
21523
21771
|
[0xA56C2A3E]: "updates.state",
|
|
21524
21772
|
[0x5D75A138]: "updates.differenceEmpty",
|
|
21525
21773
|
[0x00F49CA0]: "updates.difference",
|
|
@@ -21826,6 +22074,7 @@ export const schema = Object.freeze({
|
|
|
21826
22074
|
[0xA8406CA9]: "topPeerCategoryForwardUsers",
|
|
21827
22075
|
[0xFBEEC0F0]: "topPeerCategoryForwardChats",
|
|
21828
22076
|
[0xFD9E7BEC]: "topPeerCategoryBotsApp",
|
|
22077
|
+
[0x6C24F3DD]: "topPeerCategoryBotsGuestChat",
|
|
21829
22078
|
[0xFB834291]: "topPeerCategoryPeers",
|
|
21830
22079
|
[0xDE266EF5]: "contacts.topPeersNotModified",
|
|
21831
22080
|
[0x70B772A8]: "contacts.topPeers",
|
|
@@ -22105,7 +22354,7 @@ export const schema = Object.freeze({
|
|
|
22105
22354
|
[0x01EB3758]: "help.userInfo",
|
|
22106
22355
|
[0x4B7D786A]: "pollAnswer",
|
|
22107
22356
|
[0x199FED96]: "inputPollAnswer",
|
|
22108
|
-
[
|
|
22357
|
+
[0x966E2DBF]: "poll",
|
|
22109
22358
|
[0x3645230A]: "pollAnswerVoters",
|
|
22110
22359
|
[0xBA7BB15E]: "pollResults",
|
|
22111
22360
|
[0xF041E250]: "chatOnlines",
|
|
@@ -22161,6 +22410,7 @@ export const schema = Object.freeze({
|
|
|
22161
22410
|
[0xCF6F6DB8]: "webPageAttributeUniqueStarGift",
|
|
22162
22411
|
[0x31CAD303]: "webPageAttributeStarGiftCollection",
|
|
22163
22412
|
[0x01C641C2]: "webPageAttributeStarGiftAuction",
|
|
22413
|
+
[0x7781FE18]: "webPageAttributeAiComposeTone",
|
|
22164
22414
|
[0x4899484E]: "messages.votesList",
|
|
22165
22415
|
[0xF568028A]: "bankCardOpenUrl",
|
|
22166
22416
|
[0x3E24E573]: "payments.bankCardData",
|
|
@@ -22311,7 +22561,7 @@ export const schema = Object.freeze({
|
|
|
22311
22561
|
[0xF9A2A6CB]: "inputStorePaymentStarsTopup",
|
|
22312
22562
|
[0x1D741EF7]: "inputStorePaymentStarsGift",
|
|
22313
22563
|
[0x751F08FA]: "inputStorePaymentStarsGiveaway",
|
|
22314
|
-
[
|
|
22564
|
+
[0x3FC18057]: "inputStorePaymentAuthCode",
|
|
22315
22565
|
[0x88F8F21B]: "paymentFormMethod",
|
|
22316
22566
|
[0x2DE11AAE]: "emojiStatusEmpty",
|
|
22317
22567
|
[0xE7FF068A]: "emojiStatus",
|
|
@@ -22666,6 +22916,16 @@ export const schema = Object.freeze({
|
|
|
22666
22916
|
[0x3C60B621]: "bots.exportedBotToken",
|
|
22667
22917
|
[0xF13BBCD7]: "bots.requestedButton",
|
|
22668
22918
|
[0x90D7ADFA]: "messages.composedMessageWithAI",
|
|
22919
|
+
[0x2999BEED]: "stats.pollStats",
|
|
22920
|
+
[0x1FE9A9BF]: "inputAiComposeToneDefault",
|
|
22921
|
+
[0x0773C080]: "inputAiComposeToneID",
|
|
22922
|
+
[0x1FA01357]: "inputAiComposeToneSlug",
|
|
22923
|
+
[0xCFF63EA9]: "aiComposeTone",
|
|
22924
|
+
[0x9BAD6414]: "aiComposeToneDefault",
|
|
22925
|
+
[0xC1F46103]: "aicompose.tonesNotModified",
|
|
22926
|
+
[0x6C9D0EFE]: "aicompose.tones",
|
|
22927
|
+
[0xF1D628EC]: "aiComposeToneExample",
|
|
22928
|
+
[0xDD1FBF93]: "bots.accessSettings",
|
|
22669
22929
|
},
|
|
22670
22930
|
});
|
|
22671
|
-
export const LAYER =
|
|
22931
|
+
export const LAYER = 225;
|
package/esm/types/1_chat_p.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ export interface ChatPPrivate extends _ChatPBase {
|
|
|
84
84
|
isAddedToAttachmentsMenu?: boolean;
|
|
85
85
|
/** Whether the user is a bot that has been added to the attachment menu by the current user. */
|
|
86
86
|
hasMainMiniApp?: boolean;
|
|
87
|
+
/** Whether the user is a bot that supports guest queries. */
|
|
88
|
+
isGuestQuerySupported?: boolean;
|
|
87
89
|
}
|
|
88
90
|
/** @unlisted */
|
|
89
91
|
export interface ChatPGroup extends _ChatPBase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_chat_p.d.ts","sourceRoot":"","sources":["../../src/types/1_chat_p.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,KAAK,SAAS,EAAsB,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAwB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAA8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I,EAAE,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC;AAyHjE,gBAAgB;AAChB,MAAM,WAAW,UAAU;IACzB,CAAC,IAAI,EAAE,GAAG,CAAC,QAAQ,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACpD,CAAC,IAAI,EAAE,GAAG,CAAC,QAAQ,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAClD,CAAC,IAAI,EAAE,GAAG,CAAC,WAAW,GAAG,CAAC,YAAY,GAAG,eAAe,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACzE,CAAC,IAAI,EAAE,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,WAAW,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;CAC/E;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,IAAI,YAAY,CAE/D"}
|
package/esm/types/1_chat_p.js
CHANGED
|
@@ -57,6 +57,7 @@ export function constructChatP(chat) {
|
|
|
57
57
|
restrictionReason: chat.restriction_reason?.map((v) => constructRestrictionReason(v)),
|
|
58
58
|
isAddedToAttachmentsMenu: chat.bot ? chat.attach_menu_enabled || false : undefined,
|
|
59
59
|
hasMainMiniApp: chat.bot ? chat.attach_menu_enabled || false : undefined,
|
|
60
|
+
isGuestQuerySupported: chat.bot ? chat.bot_guestchat || false : undefined,
|
|
60
61
|
};
|
|
61
62
|
if (Api.is("userProfilePhoto", chat.photo)) {
|
|
62
63
|
chat_.photo = constructChatPhoto(chat.photo, chat_.id, chat.access_hash ?? 0n);
|
package/esm/types/2_user.d.ts
CHANGED
|
@@ -77,6 +77,8 @@ export interface User {
|
|
|
77
77
|
isAddedToAttachmentsMenu?: boolean;
|
|
78
78
|
/** Whether the user is a bot that has a main mini app. */
|
|
79
79
|
hasMainMiniApp?: boolean;
|
|
80
|
+
/** Whether the user is a bot that supports guest queries. */
|
|
81
|
+
isGuestQuerySupported?: boolean;
|
|
80
82
|
}
|
|
81
83
|
export declare function constructUser(user_: Api.user): User;
|
|
82
84
|
export declare function constructUser2(chatP: ChatPPrivate): User;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_user.d.ts","sourceRoot":"","sources":["../../src/types/2_user.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,KAAK,SAAS,EAAsB,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAwB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC/F,OAAO,EAAuB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,cAAc;AACd,MAAM,WAAW,IAAI;IACnB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,yBAAyB;IACzB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,uFAAuF;IACv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7D,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,GAAG,IAAI,CAqCnD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CA8BxD"}
|
package/esm/types/2_user.js
CHANGED
|
@@ -53,6 +53,7 @@ export function constructUser(user_) {
|
|
|
53
53
|
restrictionReason: user_.restriction_reason?.map((v) => constructRestrictionReason(v)),
|
|
54
54
|
isAddedToAttachmentsMenu: user_.bot ? user_.attach_menu_enabled || false : undefined,
|
|
55
55
|
hasMainMiniApp: user_.bot ? user_.bot_has_main_app || false : undefined,
|
|
56
|
+
isGuestQuerySupported: user_.bot ? user_.bot_guestchat || false : undefined,
|
|
56
57
|
};
|
|
57
58
|
if (Api.is("userProfilePhoto", user_.photo)) {
|
|
58
59
|
user.photo = constructChatPhoto(user_.photo, user.id, user_.access_hash ?? 0n);
|
package/esm/types/4_poll.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export interface Poll {
|
|
|
50
50
|
openPeriod?: number;
|
|
51
51
|
/** The time when the poll will be closed. */
|
|
52
52
|
closeDate?: number;
|
|
53
|
+
/** The codes of the countries where the poll is available. */
|
|
54
|
+
countries?: string[];
|
|
53
55
|
}
|
|
54
56
|
export declare function constructPoll(media_: Api.messageMediaPoll): Poll;
|
|
55
57
|
//# sourceMappingURL=4_poll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4_poll.d.ts","sourceRoot":"","sources":["../../src/types/4_poll.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAA0B,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAuB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE1E,cAAc;AACd,MAAM,WAAW,IAAI;IAC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6DAA6D;IAC7D,eAAe,EAAE,MAAM,CAAC;IACxB,kCAAkC;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,4BAA4B;IAC5B,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzB,gDAAgD;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sCAAsC;IACtC,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,mBAAmB,CAAC,EAAE,aAAa,EAAE,CAAC;IACtC,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,gBAAgB,GAAG,IAAI,CAqBhE"}
|
package/esm/types/4_poll.js
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2026 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import type { Message } from "./6_message.js";
|
|
21
|
+
/** A guest query. */
|
|
22
|
+
export interface GuestQuery {
|
|
23
|
+
/** The identifier of the query. */
|
|
24
|
+
id: string;
|
|
25
|
+
/** The guest query's message. */
|
|
26
|
+
message: Message;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=7_guest_query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"7_guest_query.d.ts","sourceRoot":"","sources":["../../src/types/7_guest_query.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAqB;AACrB,MAAM,WAAW,UAAU;IACzB,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,iCAAiC;IACjC,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2026 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
export {};
|