@mtkruto/browser 0.140.0 → 0.141.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/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 +33 -7
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +1 -0
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +12 -1
- package/esm/client/1_client_generic.d.ts +105 -10
- package/esm/client/1_client_generic.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts +0 -1
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +4 -47
- package/esm/client/3_sticker_set_manager.d.ts +46 -0
- package/esm/client/3_sticker_set_manager.d.ts.map +1 -0
- package/esm/client/3_sticker_set_manager.js +197 -0
- package/esm/client/6_client.d.ts +105 -10
- package/esm/client/6_client.d.ts.map +1 -1
- package/esm/client/6_client.js +136 -10
- package/esm/client/6_client_dispatcher.d.ts +105 -10
- package/esm/client/6_client_dispatcher.d.ts.map +1 -1
- package/esm/client/6_client_dispatcher.js +132 -10
- package/esm/types/0_giveaway_parameters.d.ts +1 -1
- package/esm/types/0_giveaway_parameters.d.ts.map +1 -1
- package/esm/types/0_location.d.ts +1 -1
- package/esm/types/0_location.d.ts.map +1 -1
- package/esm/types/0_user_status.d.ts +1 -1
- package/esm/types/0_user_status.d.ts.map +1 -1
- package/esm/types/0_video_chat.d.ts +1 -1
- package/esm/types/0_video_chat.d.ts.map +1 -1
- package/esm/types/0_working_hours_interval.d.ts +2 -2
- package/esm/types/0_working_hours_interval.d.ts.map +1 -1
- package/esm/types/1_bot_commands.d.ts +1 -1
- package/esm/types/1_bot_commands.d.ts.map +1 -1
- package/esm/types/1_chat_action.d.ts +2 -2
- package/esm/types/1_chat_action.d.ts.map +1 -1
- package/esm/types/1_input_sticker.d.ts +40 -0
- package/esm/types/1_input_sticker.d.ts.map +1 -0
- package/esm/types/1_input_sticker.js +20 -0
- package/esm/types/2_chat_member.d.ts +3 -3
- package/esm/types/2_chat_member.d.ts.map +1 -1
- package/esm/types/2_message_reaction_count.d.ts +1 -1
- package/esm/types/2_message_reaction_count.d.ts.map +1 -1
- package/esm/types/2_message_reaction_list_item.d.ts +1 -1
- package/esm/types/2_message_reaction_list_item.d.ts.map +1 -1
- package/esm/types/2_sticker_set.d.ts +1 -1
- package/esm/types/2_sticker_set.d.ts.map +1 -1
- package/esm/types/3_blocked_user.d.ts +1 -1
- package/esm/types/3_blocked_user.d.ts.map +1 -1
- package/esm/types/3_business_connection.d.ts +1 -1
- package/esm/types/3_business_connection.d.ts.map +1 -1
- package/esm/types/3_checklist_item.d.ts +1 -1
- package/esm/types/3_checklist_item.d.ts.map +1 -1
- package/esm/types/3_invite_link.d.ts +1 -1
- package/esm/types/3_invite_link.d.ts.map +1 -1
- package/esm/types/3_message_draft.d.ts +1 -1
- package/esm/types/3_message_draft.d.ts.map +1 -1
- package/esm/types/3_message_reactions.d.ts +1 -1
- package/esm/types/3_message_reactions.d.ts.map +1 -1
- package/esm/types/3_pre_checkout_query.d.ts +1 -1
- package/esm/types/3_pre_checkout_query.d.ts.map +1 -1
- package/esm/types/4_chat_member_updated.d.ts +2 -2
- package/esm/types/4_chat_member_updated.d.ts.map +1 -1
- package/esm/types/4_join_request.d.ts +1 -1
- package/esm/types/4_join_request.d.ts.map +1 -1
- package/esm/types/4_poll.d.ts +1 -1
- package/esm/types/4_poll.d.ts.map +1 -1
- package/esm/types/5_link_preview.d.ts +2 -2
- package/esm/types/5_link_preview.d.ts.map +1 -1
- package/esm/types/6_message.d.ts +3 -3
- package/esm/types/6_message.d.ts.map +1 -1
- package/esm/types/6_message_content.d.ts +2 -2
- package/esm/types/6_message_content.d.ts.map +1 -1
- package/esm/types/7_callback_query.d.ts +1 -1
- package/esm/types/7_callback_query.d.ts.map +1 -1
- package/esm/types/7_topic.d.ts +1 -1
- package/esm/types/7_topic.d.ts.map +1 -1
- package/package.json +1 -1
- 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 +33 -7
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +1 -0
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +12 -0
- package/script/client/1_client_generic.d.ts +105 -10
- package/script/client/1_client_generic.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts +0 -1
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +1 -44
- package/script/client/3_sticker_set_manager.d.ts +46 -0
- package/script/client/3_sticker_set_manager.d.ts.map +1 -0
- package/script/client/3_sticker_set_manager.js +201 -0
- package/script/client/6_client.d.ts +105 -10
- package/script/client/6_client.d.ts.map +1 -1
- package/script/client/6_client.js +136 -10
- package/script/client/6_client_dispatcher.d.ts +105 -10
- package/script/client/6_client_dispatcher.d.ts.map +1 -1
- package/script/client/6_client_dispatcher.js +132 -10
- package/script/types/0_giveaway_parameters.d.ts +1 -1
- package/script/types/0_giveaway_parameters.d.ts.map +1 -1
- package/script/types/0_location.d.ts +1 -1
- package/script/types/0_location.d.ts.map +1 -1
- package/script/types/0_user_status.d.ts +1 -1
- package/script/types/0_user_status.d.ts.map +1 -1
- package/script/types/0_video_chat.d.ts +1 -1
- package/script/types/0_video_chat.d.ts.map +1 -1
- package/script/types/0_working_hours_interval.d.ts +2 -2
- package/script/types/0_working_hours_interval.d.ts.map +1 -1
- package/script/types/1_bot_commands.d.ts +1 -1
- package/script/types/1_bot_commands.d.ts.map +1 -1
- package/script/types/1_chat_action.d.ts +2 -2
- package/script/types/1_chat_action.d.ts.map +1 -1
- package/script/types/1_input_sticker.d.ts +40 -0
- package/script/types/1_input_sticker.d.ts.map +1 -0
- package/script/types/1_input_sticker.js +21 -0
- package/script/types/2_chat_member.d.ts +3 -3
- package/script/types/2_chat_member.d.ts.map +1 -1
- package/script/types/2_message_reaction_count.d.ts +1 -1
- package/script/types/2_message_reaction_count.d.ts.map +1 -1
- package/script/types/2_message_reaction_list_item.d.ts +1 -1
- package/script/types/2_message_reaction_list_item.d.ts.map +1 -1
- package/script/types/2_sticker_set.d.ts +1 -1
- package/script/types/2_sticker_set.d.ts.map +1 -1
- package/script/types/3_blocked_user.d.ts +1 -1
- package/script/types/3_blocked_user.d.ts.map +1 -1
- package/script/types/3_business_connection.d.ts +1 -1
- package/script/types/3_business_connection.d.ts.map +1 -1
- package/script/types/3_checklist_item.d.ts +1 -1
- package/script/types/3_checklist_item.d.ts.map +1 -1
- package/script/types/3_invite_link.d.ts +1 -1
- package/script/types/3_invite_link.d.ts.map +1 -1
- package/script/types/3_message_draft.d.ts +1 -1
- package/script/types/3_message_draft.d.ts.map +1 -1
- package/script/types/3_message_reactions.d.ts +1 -1
- package/script/types/3_message_reactions.d.ts.map +1 -1
- package/script/types/3_pre_checkout_query.d.ts +1 -1
- package/script/types/3_pre_checkout_query.d.ts.map +1 -1
- package/script/types/4_chat_member_updated.d.ts +2 -2
- package/script/types/4_chat_member_updated.d.ts.map +1 -1
- package/script/types/4_join_request.d.ts +1 -1
- package/script/types/4_join_request.d.ts.map +1 -1
- package/script/types/4_poll.d.ts +1 -1
- package/script/types/4_poll.d.ts.map +1 -1
- package/script/types/5_link_preview.d.ts +2 -2
- package/script/types/5_link_preview.d.ts.map +1 -1
- package/script/types/6_message.d.ts +3 -3
- package/script/types/6_message.d.ts.map +1 -1
- package/script/types/6_message_content.d.ts +2 -2
- package/script/types/6_message_content.d.ts.map +1 -1
- package/script/types/7_callback_query.d.ts +1 -1
- package/script/types/7_callback_query.d.ts.map +1 -1
- package/script/types/7_topic.d.ts +1 -1
- package/script/types/7_topic.d.ts.map +1 -1
|
@@ -41,14 +41,14 @@ export interface MessageContentContact {
|
|
|
41
41
|
* @unlisted
|
|
42
42
|
*/
|
|
43
43
|
export interface MessageContentLocation {
|
|
44
|
-
type: "
|
|
44
|
+
type: "location";
|
|
45
45
|
/** The latitude of the location. */
|
|
46
46
|
latitude: number;
|
|
47
47
|
/** The longitude of the location. */
|
|
48
48
|
longitude: number;
|
|
49
49
|
/** The accuracy radius of the location in meters. Must be in the range of 0-1500. */
|
|
50
50
|
horizontalAccuracy?: number;
|
|
51
|
-
/** The duration
|
|
51
|
+
/** The duration for which the location can be updated, in seconds. Must be in the range of 80-864,000. */
|
|
52
52
|
livePeriod?: number;
|
|
53
53
|
/** The direction which the user is moving towards. Must be in the range of 1-350. */
|
|
54
54
|
heading?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"6_message_content.d.ts","sourceRoot":"","sources":["../../src/types/6_message_content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"6_message_content.d.ts","sourceRoot":"","sources":["../../src/types/6_message_content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM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AAG,qBAAqB,CAAC"}
|
|
@@ -31,7 +31,7 @@ export interface CallbackQuery {
|
|
|
31
31
|
message?: Message;
|
|
32
32
|
/** The identifier of the inline result message from which the callback query was made. Unset if made from a message not originating from an inline query result. */
|
|
33
33
|
inlineMessageId?: string;
|
|
34
|
-
/** A special identifier for the chat
|
|
34
|
+
/** A special identifier for the chat from which the callback was made. Useful for inline result messages. */
|
|
35
35
|
chatInstance: string;
|
|
36
36
|
/** The data associated with the button that was used to make the callback query. */
|
|
37
37
|
data?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"7_callback_query.d.ts","sourceRoot":"","sources":["../../src/types/7_callback_query.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAkB,KAAK,IAAI,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE7D,iCAAiC;AACjC,MAAM,WAAW,aAAa;IAC5B,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,IAAI,EAAE,IAAI,CAAC;IACX,uGAAuG;IACvG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oKAAoK;IACpK,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"7_callback_query.d.ts","sourceRoot":"","sources":["../../src/types/7_callback_query.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAkB,KAAK,IAAI,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE7D,iCAAiC;AACjC,MAAM,WAAW,aAAa;IAC5B,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,IAAI,EAAE,IAAI,CAAC;IACX,uGAAuG;IACvG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oKAAoK;IACpK,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6GAA6G;IAC7G,YAAY,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD,wBAAsB,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAY9G;AAED,wBAAsB,sBAAsB,CAAC,aAAa,EAAE,GAAG,CAAC,sBAAsB,GAAG,GAAG,CAAC,4BAA4B,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAmBjM"}
|
|
@@ -23,7 +23,7 @@ import type { Message } from "./6_message.js";
|
|
|
23
23
|
export interface Topic {
|
|
24
24
|
/** The ID of the topic. */
|
|
25
25
|
id: number;
|
|
26
|
-
/** The point in time
|
|
26
|
+
/** The point in time when the topic was created. */
|
|
27
27
|
date: number;
|
|
28
28
|
/** The creator of the topic. */
|
|
29
29
|
creator: ChatP;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"7_topic.d.ts","sourceRoot":"","sources":["../../src/types/7_topic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAqD,MAAM,gBAAgB,CAAC;AAEjG,qBAAqB;AACrB,MAAM,WAAW,KAAK;IACpB,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,
|
|
1
|
+
{"version":3,"file":"7_topic.d.ts","sourceRoot":"","sources":["../../src/types/7_topic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAqD,MAAM,gBAAgB,CAAC;AAEjG,qBAAqB;AACrB,MAAM,WAAW,KAAK;IACpB,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,OAAO,EAAE,KAAK,CAAC;IACf,yCAAyC;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,KAAK,CAqCtD"}
|