@mtcute/core 0.24.4 → 0.25.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.
Files changed (570) hide show
  1. package/client.cjs +9 -1
  2. package/client.js +8 -0
  3. package/highlevel/base.cjs +2 -1
  4. package/highlevel/base.js +1 -0
  5. package/highlevel/client.d.cts +30 -0
  6. package/highlevel/client.d.ts +30 -0
  7. package/highlevel/managers/app-config-manager.cjs +1 -1
  8. package/highlevel/managers/timers.cjs +1 -1
  9. package/highlevel/methods/auth/check-password.cjs +1 -1
  10. package/highlevel/methods/auth/get-password-hint.cjs +1 -1
  11. package/highlevel/methods/auth/log-out.cjs +1 -1
  12. package/highlevel/methods/auth/recover-password.cjs +1 -1
  13. package/highlevel/methods/auth/resend-code.cjs +1 -1
  14. package/highlevel/methods/auth/run.cjs +1 -1
  15. package/highlevel/methods/auth/send-code.cjs +1 -1
  16. package/highlevel/methods/auth/send-recovery-code.cjs +1 -1
  17. package/highlevel/methods/auth/sign-in-bot.cjs +1 -1
  18. package/highlevel/methods/auth/sign-in-qr.cjs +1 -1
  19. package/highlevel/methods/auth/sign-in.cjs +1 -1
  20. package/highlevel/methods/auth/start-test.cjs +1 -1
  21. package/highlevel/methods/auth/start.cjs +1 -1
  22. package/highlevel/methods/auth/utils.cjs +1 -1
  23. package/highlevel/methods/bots/answer-callback-query.cjs +1 -1
  24. package/highlevel/methods/bots/answer-inline-query.cjs +1 -1
  25. package/highlevel/methods/bots/answer-pre-checkout-query.cjs +1 -1
  26. package/highlevel/methods/bots/delete-my-commands.cjs +1 -1
  27. package/highlevel/methods/bots/get-bot-info.cjs +1 -1
  28. package/highlevel/methods/bots/get-bot-menu-button.cjs +1 -1
  29. package/highlevel/methods/bots/get-callback-answer.cjs +1 -1
  30. package/highlevel/methods/bots/get-game-high-scores.cjs +1 -1
  31. package/highlevel/methods/bots/get-my-commands.cjs +1 -1
  32. package/highlevel/methods/bots/normalize-command-scope.cjs +1 -1
  33. package/highlevel/methods/bots/open-webview.cjs +1 -1
  34. package/highlevel/methods/bots/prepare-inline-message.cjs +1 -1
  35. package/highlevel/methods/bots/set-bot-info.cjs +1 -1
  36. package/highlevel/methods/bots/set-bot-menu-button.cjs +1 -1
  37. package/highlevel/methods/bots/set-game-score.cjs +1 -1
  38. package/highlevel/methods/bots/set-my-commands.cjs +1 -1
  39. package/highlevel/methods/bots/set-my-default-rights.cjs +1 -1
  40. package/highlevel/methods/bots/toggle-emoji-status-permission.cjs +1 -1
  41. package/highlevel/methods/chats/add-chat-members.cjs +1 -1
  42. package/highlevel/methods/chats/archive-chats.cjs +1 -1
  43. package/highlevel/methods/chats/ban-chat-member.cjs +1 -1
  44. package/highlevel/methods/chats/batched-queries.cjs +1 -1
  45. package/highlevel/methods/chats/create-channel.cjs +1 -1
  46. package/highlevel/methods/chats/create-group.cjs +1 -1
  47. package/highlevel/methods/chats/create-supergroup.cjs +1 -1
  48. package/highlevel/methods/chats/delete-channel.cjs +1 -1
  49. package/highlevel/methods/chats/delete-chat-photo.cjs +1 -1
  50. package/highlevel/methods/chats/delete-group.cjs +1 -1
  51. package/highlevel/methods/chats/delete-history.cjs +1 -1
  52. package/highlevel/methods/chats/delete-user-history.cjs +1 -1
  53. package/highlevel/methods/chats/edit-admin-rights.cjs +1 -1
  54. package/highlevel/methods/chats/get-chat-event-log.cjs +1 -1
  55. package/highlevel/methods/chats/get-chat-member.cjs +1 -1
  56. package/highlevel/methods/chats/get-chat-members.cjs +1 -1
  57. package/highlevel/methods/chats/get-chat-preview.cjs +1 -1
  58. package/highlevel/methods/chats/get-chat.cjs +1 -1
  59. package/highlevel/methods/chats/get-full-chat.cjs +1 -1
  60. package/highlevel/methods/chats/get-full-user.cjs +1 -1
  61. package/highlevel/methods/chats/get-message-author.cjs +1 -1
  62. package/highlevel/methods/chats/get-nearby-chats.cjs +1 -1
  63. package/highlevel/methods/chats/get-peer.cjs +1 -1
  64. package/highlevel/methods/chats/get-similar-channels.cjs +1 -1
  65. package/highlevel/methods/chats/get-user.cjs +1 -1
  66. package/highlevel/methods/chats/iter-chat-event-log.cjs +1 -1
  67. package/highlevel/methods/chats/iter-chat-members.cjs +1 -1
  68. package/highlevel/methods/chats/join-chat.cjs +1 -1
  69. package/highlevel/methods/chats/kick-chat-member.cjs +1 -1
  70. package/highlevel/methods/chats/leave-chat.cjs +1 -1
  71. package/highlevel/methods/chats/mark-chat-unread.cjs +1 -1
  72. package/highlevel/methods/chats/open-chat.cjs +1 -1
  73. package/highlevel/methods/chats/reorder-usernames.cjs +1 -1
  74. package/highlevel/methods/chats/restrict-chat-member.cjs +1 -1
  75. package/highlevel/methods/chats/save-draft.cjs +1 -1
  76. package/highlevel/methods/chats/set-chat-color.cjs +1 -1
  77. package/highlevel/methods/chats/set-chat-default-permissions.cjs +1 -1
  78. package/highlevel/methods/chats/set-chat-description.cjs +1 -1
  79. package/highlevel/methods/chats/set-chat-photo.cjs +1 -1
  80. package/highlevel/methods/chats/set-chat-title.cjs +1 -1
  81. package/highlevel/methods/chats/set-chat-ttl.cjs +1 -1
  82. package/highlevel/methods/chats/set-chat-username.cjs +1 -1
  83. package/highlevel/methods/chats/set-slow-mode.cjs +1 -1
  84. package/highlevel/methods/chats/toggle-content-protection.cjs +1 -1
  85. package/highlevel/methods/chats/toggle-fragment-username.cjs +1 -1
  86. package/highlevel/methods/chats/toggle-join-requests.cjs +1 -1
  87. package/highlevel/methods/chats/toggle-join-to-send.cjs +1 -1
  88. package/highlevel/methods/chats/unarchive-chats.cjs +1 -1
  89. package/highlevel/methods/chats/unban-chat-member.cjs +1 -1
  90. package/highlevel/methods/contacts/add-contact.cjs +1 -1
  91. package/highlevel/methods/contacts/delete-contacts.cjs +1 -1
  92. package/highlevel/methods/contacts/get-contacts.cjs +1 -1
  93. package/highlevel/methods/contacts/import-contacts.cjs +1 -1
  94. package/highlevel/methods/dialogs/create-folder.cjs +1 -1
  95. package/highlevel/methods/dialogs/delete-folder.cjs +1 -1
  96. package/highlevel/methods/dialogs/edit-folder.cjs +1 -1
  97. package/highlevel/methods/dialogs/find-dialogs.cjs +1 -1
  98. package/highlevel/methods/dialogs/find-folder.cjs +1 -1
  99. package/highlevel/methods/dialogs/get-chatlist-preview.cjs +1 -1
  100. package/highlevel/methods/dialogs/get-folders.cjs +1 -1
  101. package/highlevel/methods/dialogs/get-peer-dialogs.cjs +1 -1
  102. package/highlevel/methods/dialogs/iter-dialogs.cjs +1 -1
  103. package/highlevel/methods/dialogs/join-chatlist.cjs +1 -1
  104. package/highlevel/methods/dialogs/set-folders-order.cjs +1 -1
  105. package/highlevel/methods/files/download-buffer.cjs +1 -1
  106. package/highlevel/methods/files/download-iterable.cjs +1 -1
  107. package/highlevel/methods/files/download-stream.cjs +1 -1
  108. package/highlevel/methods/files/normalize-file-to-document.cjs +1 -1
  109. package/highlevel/methods/files/normalize-input-file.cjs +1 -1
  110. package/highlevel/methods/files/normalize-input-media.cjs +17 -1
  111. package/highlevel/methods/files/normalize-input-media.js +16 -0
  112. package/highlevel/methods/files/upload-file.cjs +1 -1
  113. package/highlevel/methods/files/upload-media.cjs +3 -2
  114. package/highlevel/methods/files/upload-media.js +2 -1
  115. package/highlevel/methods/forums/create-forum-topic.cjs +1 -1
  116. package/highlevel/methods/forums/delete-forum-topic-history.cjs +1 -1
  117. package/highlevel/methods/forums/edit-forum-topic.cjs +1 -1
  118. package/highlevel/methods/forums/get-forum-topics-by-id.cjs +1 -1
  119. package/highlevel/methods/forums/get-forum-topics.cjs +1 -1
  120. package/highlevel/methods/forums/iter-forum-topics.cjs +1 -1
  121. package/highlevel/methods/forums/reorder-pinned-forum-topics.cjs +1 -1
  122. package/highlevel/methods/forums/toggle-forum-topic-closed.cjs +1 -1
  123. package/highlevel/methods/forums/toggle-forum-topic-pinned.cjs +1 -1
  124. package/highlevel/methods/forums/toggle-forum.cjs +1 -1
  125. package/highlevel/methods/forums/toggle-general-topic-hidden.cjs +1 -1
  126. package/highlevel/methods/invite-links/create-invite-link.cjs +1 -1
  127. package/highlevel/methods/invite-links/edit-invite-link.cjs +1 -1
  128. package/highlevel/methods/invite-links/export-invite-link.cjs +1 -1
  129. package/highlevel/methods/invite-links/get-invite-link-members.cjs +1 -1
  130. package/highlevel/methods/invite-links/get-invite-link.cjs +1 -1
  131. package/highlevel/methods/invite-links/get-invite-links.cjs +1 -1
  132. package/highlevel/methods/invite-links/get-primary-invite-link.cjs +1 -1
  133. package/highlevel/methods/invite-links/hide-all-join-requests.cjs +1 -1
  134. package/highlevel/methods/invite-links/hide-join-request.cjs +1 -1
  135. package/highlevel/methods/invite-links/iter-invite-link-members.cjs +1 -1
  136. package/highlevel/methods/invite-links/iter-invite-links.cjs +1 -1
  137. package/highlevel/methods/invite-links/revoke-invite-link.cjs +1 -1
  138. package/highlevel/methods/messages/_business-connection.cjs +1 -1
  139. package/highlevel/methods/messages/append-todo-list.cjs +39 -0
  140. package/highlevel/methods/messages/append-todo-list.d.cts +17 -0
  141. package/highlevel/methods/messages/append-todo-list.d.ts +17 -0
  142. package/highlevel/methods/messages/append-todo-list.js +34 -0
  143. package/highlevel/methods/messages/close-poll.cjs +1 -1
  144. package/highlevel/methods/messages/delete-messages.cjs +1 -1
  145. package/highlevel/methods/messages/delete-scheduled-messages.cjs +1 -1
  146. package/highlevel/methods/messages/edit-inline-message.cjs +1 -1
  147. package/highlevel/methods/messages/edit-message.cjs +1 -1
  148. package/highlevel/methods/messages/find-in-update.cjs +1 -1
  149. package/highlevel/methods/messages/forward-messages.cjs +1 -1
  150. package/highlevel/methods/messages/get-all-scheduled-messages.cjs +1 -1
  151. package/highlevel/methods/messages/get-available-effects.cjs +1 -1
  152. package/highlevel/methods/messages/get-callback-query-message.cjs +1 -1
  153. package/highlevel/methods/messages/get-discussion-message.cjs +1 -1
  154. package/highlevel/methods/messages/get-fact-check.cjs +1 -1
  155. package/highlevel/methods/messages/get-history.cjs +1 -1
  156. package/highlevel/methods/messages/get-message-by-link.cjs +1 -1
  157. package/highlevel/methods/messages/get-message-group.cjs +1 -1
  158. package/highlevel/methods/messages/get-message-reactions.cjs +1 -1
  159. package/highlevel/methods/messages/get-messages-unsafe.cjs +1 -1
  160. package/highlevel/methods/messages/get-messages.cjs +1 -1
  161. package/highlevel/methods/messages/get-reaction-users.cjs +1 -1
  162. package/highlevel/methods/messages/get-reply-to.cjs +1 -1
  163. package/highlevel/methods/messages/get-scheduled-messages.cjs +1 -1
  164. package/highlevel/methods/messages/get-web-page-preview.cjs +1 -1
  165. package/highlevel/methods/messages/iter-history.cjs +1 -1
  166. package/highlevel/methods/messages/iter-reaction-users.cjs +1 -1
  167. package/highlevel/methods/messages/iter-search-global.cjs +1 -1
  168. package/highlevel/methods/messages/iter-search-messages.cjs +1 -1
  169. package/highlevel/methods/messages/pin-message.cjs +1 -1
  170. package/highlevel/methods/messages/read-history.cjs +1 -1
  171. package/highlevel/methods/messages/read-reactions.cjs +1 -1
  172. package/highlevel/methods/messages/search-global.cjs +1 -1
  173. package/highlevel/methods/messages/search-hashtag.cjs +1 -1
  174. package/highlevel/methods/messages/search-messages.cjs +1 -1
  175. package/highlevel/methods/messages/send-answer.cjs +1 -1
  176. package/highlevel/methods/messages/send-comment.cjs +1 -1
  177. package/highlevel/methods/messages/send-common.cjs +1 -1
  178. package/highlevel/methods/messages/send-copy-group.cjs +1 -1
  179. package/highlevel/methods/messages/send-copy.cjs +1 -1
  180. package/highlevel/methods/messages/send-media-group.cjs +1 -1
  181. package/highlevel/methods/messages/send-media.cjs +1 -1
  182. package/highlevel/methods/messages/send-paid-reaction.cjs +1 -1
  183. package/highlevel/methods/messages/send-quote.cjs +1 -1
  184. package/highlevel/methods/messages/send-reaction.cjs +1 -1
  185. package/highlevel/methods/messages/send-reply.cjs +1 -1
  186. package/highlevel/methods/messages/send-scheduled.cjs +1 -1
  187. package/highlevel/methods/messages/send-text.cjs +1 -1
  188. package/highlevel/methods/messages/send-typing.cjs +1 -1
  189. package/highlevel/methods/messages/send-vote.cjs +1 -1
  190. package/highlevel/methods/messages/set-typing.cjs +1 -1
  191. package/highlevel/methods/messages/toggle-todo-completed.cjs +23 -0
  192. package/highlevel/methods/messages/toggle-todo-completed.d.cts +19 -0
  193. package/highlevel/methods/messages/toggle-todo-completed.d.ts +19 -0
  194. package/highlevel/methods/messages/toggle-todo-completed.js +18 -0
  195. package/highlevel/methods/messages/translate-message.cjs +1 -1
  196. package/highlevel/methods/messages/translate-text.cjs +1 -1
  197. package/highlevel/methods/messages/unpin-all-messages.cjs +1 -1
  198. package/highlevel/methods/messages/unpin-message.cjs +1 -1
  199. package/highlevel/methods/misc/chain-id.cjs +1 -1
  200. package/highlevel/methods/misc/get-collectible-info.cjs +1 -1
  201. package/highlevel/methods/misc/init-takeout-session.cjs +1 -1
  202. package/highlevel/methods/misc/normalize-privacy-rules.cjs +1 -1
  203. package/highlevel/methods/misc/normalize-text.cjs +1 -1
  204. package/highlevel/methods/misc/with-params.cjs +1 -1
  205. package/highlevel/methods/password/change-cloud-password.cjs +1 -1
  206. package/highlevel/methods/password/enable-cloud-password.cjs +1 -1
  207. package/highlevel/methods/password/password-email.cjs +1 -1
  208. package/highlevel/methods/password/remove-cloud-password.cjs +1 -1
  209. package/highlevel/methods/premium/_normalize-input-star-gift.cjs +1 -1
  210. package/highlevel/methods/premium/accept-star-gift.cjs +1 -1
  211. package/highlevel/methods/premium/apply-boost.cjs +1 -1
  212. package/highlevel/methods/premium/buy-resale-gift.cjs +1 -1
  213. package/highlevel/methods/premium/can-apply-boost.cjs +1 -1
  214. package/highlevel/methods/premium/create-business-chat-link.cjs +1 -1
  215. package/highlevel/methods/premium/edit-business-chat-link.cjs +1 -1
  216. package/highlevel/methods/premium/get-boost-stats.cjs +1 -1
  217. package/highlevel/methods/premium/get-boosts.cjs +1 -1
  218. package/highlevel/methods/premium/get-business-chat-links.cjs +1 -1
  219. package/highlevel/methods/premium/get-business-connection.cjs +1 -1
  220. package/highlevel/methods/premium/get-my-boost-slots.cjs +1 -1
  221. package/highlevel/methods/premium/get-resale-star-gifts.cjs +1 -1
  222. package/highlevel/methods/premium/get-saved-star-gifts-by-id.cjs +1 -1
  223. package/highlevel/methods/premium/get-saved-star-gifts.cjs +1 -1
  224. package/highlevel/methods/premium/get-star-gift-options.cjs +1 -1
  225. package/highlevel/methods/premium/get-star-gift-withdrawal-url.cjs +1 -1
  226. package/highlevel/methods/premium/get-stars-transactions.cjs +1 -1
  227. package/highlevel/methods/premium/get-unique-star-gift.cjs +1 -1
  228. package/highlevel/methods/premium/iter-boosters.cjs +1 -1
  229. package/highlevel/methods/premium/iter-saved-star-gifts.cjs +1 -1
  230. package/highlevel/methods/premium/iter-stars-transactions.cjs +1 -1
  231. package/highlevel/methods/premium/pin-star-gift.cjs +1 -1
  232. package/highlevel/methods/premium/send-star-gift.cjs +1 -1
  233. package/highlevel/methods/premium/set-business-intro.cjs +1 -1
  234. package/highlevel/methods/premium/set-business-work-hours.cjs +1 -1
  235. package/highlevel/methods/premium/set-gift-resale-price.cjs +1 -1
  236. package/highlevel/methods/premium/transfer-star-gift.cjs +1 -1
  237. package/highlevel/methods/premium/upgrade-star-gift.cjs +1 -1
  238. package/highlevel/methods/stickers/_utils.cjs +1 -1
  239. package/highlevel/methods/stickers/add-sticker-to-set.cjs +1 -1
  240. package/highlevel/methods/stickers/create-sticker-set.cjs +1 -1
  241. package/highlevel/methods/stickers/delete-sticker-from-set.cjs +1 -1
  242. package/highlevel/methods/stickers/get-custom-emojis.cjs +1 -1
  243. package/highlevel/methods/stickers/get-installed-stickers.cjs +1 -1
  244. package/highlevel/methods/stickers/get-my-sticker-sets.cjs +1 -1
  245. package/highlevel/methods/stickers/get-sticker-set.cjs +1 -1
  246. package/highlevel/methods/stickers/move-sticker-in-set.cjs +1 -1
  247. package/highlevel/methods/stickers/replace-sticker-in-set.cjs +1 -1
  248. package/highlevel/methods/stickers/set-chat-sticker-set.cjs +1 -1
  249. package/highlevel/methods/stickers/set-sticker-set-thumb.cjs +1 -1
  250. package/highlevel/methods/stories/can-send-story.cjs +1 -1
  251. package/highlevel/methods/stories/delete-stories.cjs +1 -1
  252. package/highlevel/methods/stories/edit-story.cjs +1 -1
  253. package/highlevel/methods/stories/find-in-update.cjs +1 -1
  254. package/highlevel/methods/stories/get-all-stories.cjs +1 -1
  255. package/highlevel/methods/stories/get-peer-stories.cjs +1 -1
  256. package/highlevel/methods/stories/get-profile-stories.cjs +1 -1
  257. package/highlevel/methods/stories/get-stories-by-id.cjs +1 -1
  258. package/highlevel/methods/stories/get-stories-interactions.cjs +1 -1
  259. package/highlevel/methods/stories/get-story-link.cjs +1 -1
  260. package/highlevel/methods/stories/get-story-viewers.cjs +1 -1
  261. package/highlevel/methods/stories/hide-my-stories-views.cjs +1 -1
  262. package/highlevel/methods/stories/increment-stories-views.cjs +1 -1
  263. package/highlevel/methods/stories/iter-all-stories.cjs +1 -1
  264. package/highlevel/methods/stories/iter-profile-stories.cjs +1 -1
  265. package/highlevel/methods/stories/iter-story-viewers.cjs +1 -1
  266. package/highlevel/methods/stories/read-stories.cjs +1 -1
  267. package/highlevel/methods/stories/send-story-reaction.cjs +1 -1
  268. package/highlevel/methods/stories/send-story.cjs +1 -1
  269. package/highlevel/methods/stories/toggle-peer-stories-archived.cjs +1 -1
  270. package/highlevel/methods/stories/toggle-stories-pinned.cjs +1 -1
  271. package/highlevel/methods/users/block-user.cjs +1 -1
  272. package/highlevel/methods/users/delete-profile-photos.cjs +1 -1
  273. package/highlevel/methods/users/edit-close-friends.cjs +1 -1
  274. package/highlevel/methods/users/get-common-chats.cjs +1 -1
  275. package/highlevel/methods/users/get-global-ttl.cjs +1 -1
  276. package/highlevel/methods/users/get-me.cjs +1 -1
  277. package/highlevel/methods/users/get-my-username.cjs +1 -1
  278. package/highlevel/methods/users/get-peer-settings.cjs +1 -1
  279. package/highlevel/methods/users/get-profile-photo.cjs +1 -1
  280. package/highlevel/methods/users/get-profile-photos.cjs +1 -1
  281. package/highlevel/methods/users/get-users.cjs +1 -1
  282. package/highlevel/methods/users/is-peer-available.cjs +1 -1
  283. package/highlevel/methods/users/iter-profile-photos.cjs +1 -1
  284. package/highlevel/methods/users/resolve-peer-many.cjs +1 -1
  285. package/highlevel/methods/users/resolve-peer.cjs +1 -1
  286. package/highlevel/methods/users/resolve-phone-number.cjs +1 -1
  287. package/highlevel/methods/users/set-emoji-status.cjs +1 -1
  288. package/highlevel/methods/users/set-global-ttl.cjs +1 -1
  289. package/highlevel/methods/users/set-my-birthday.cjs +1 -1
  290. package/highlevel/methods/users/set-my-profile-photo.cjs +1 -1
  291. package/highlevel/methods/users/set-my-username.cjs +1 -1
  292. package/highlevel/methods/users/set-online.cjs +1 -1
  293. package/highlevel/methods/users/unblock-user.cjs +1 -1
  294. package/highlevel/methods/users/update-profile.cjs +1 -1
  295. package/highlevel/methods.d.cts +2 -0
  296. package/highlevel/methods.d.ts +2 -0
  297. package/highlevel/storage/service/current-user.cjs +1 -1
  298. package/highlevel/storage/service/peers.cjs +1 -1
  299. package/highlevel/storage/service/ref-messages.cjs +1 -1
  300. package/highlevel/storage/service/updates.cjs +1 -1
  301. package/highlevel/storage/storage.cjs +1 -1
  302. package/highlevel/types/auth/sent-code.cjs +1 -1
  303. package/highlevel/types/bots/command-scope/inner.cjs +1 -1
  304. package/highlevel/types/bots/game-high-score.cjs +1 -1
  305. package/highlevel/types/bots/inline-message/factories.cjs +1 -1
  306. package/highlevel/types/bots/inline-result/factories.cjs +1 -1
  307. package/highlevel/types/bots/keyboards/builder.cjs +1 -1
  308. package/highlevel/types/bots/keyboards/factories.cjs +1 -1
  309. package/highlevel/types/bots/webview.cjs +1 -1
  310. package/highlevel/types/conversation.cjs +1 -1
  311. package/highlevel/types/errors.cjs +1 -1
  312. package/highlevel/types/files/file-location.cjs +1 -1
  313. package/highlevel/types/files/uploaded-file.cjs +1 -1
  314. package/highlevel/types/files/web-document.cjs +1 -1
  315. package/highlevel/types/media/audio.cjs +1 -1
  316. package/highlevel/types/media/contact.cjs +1 -1
  317. package/highlevel/types/media/dice.cjs +1 -1
  318. package/highlevel/types/media/document-utils.cjs +1 -1
  319. package/highlevel/types/media/document.cjs +1 -1
  320. package/highlevel/types/media/extended-media.cjs +1 -1
  321. package/highlevel/types/media/game.cjs +1 -1
  322. package/highlevel/types/media/index.d.cts +1 -0
  323. package/highlevel/types/media/index.d.ts +1 -0
  324. package/highlevel/types/media/input-media/factories.cjs +7 -1
  325. package/highlevel/types/media/input-media/factories.d.cts +2 -1
  326. package/highlevel/types/media/input-media/factories.d.ts +2 -1
  327. package/highlevel/types/media/input-media/factories.js +6 -0
  328. package/highlevel/types/media/input-media/types.d.cts +12 -1
  329. package/highlevel/types/media/input-media/types.d.ts +12 -1
  330. package/highlevel/types/media/invoice.cjs +1 -1
  331. package/highlevel/types/media/location.cjs +1 -1
  332. package/highlevel/types/media/paid-media.cjs +1 -1
  333. package/highlevel/types/media/photo.cjs +1 -1
  334. package/highlevel/types/media/poll.cjs +1 -1
  335. package/highlevel/types/media/sticker.cjs +1 -1
  336. package/highlevel/types/media/story.cjs +1 -1
  337. package/highlevel/types/media/thumbnail.cjs +1 -1
  338. package/highlevel/types/media/todo.cjs +73 -0
  339. package/highlevel/types/media/todo.d.cts +26 -0
  340. package/highlevel/types/media/todo.d.ts +26 -0
  341. package/highlevel/types/media/todo.js +68 -0
  342. package/highlevel/types/media/venue.cjs +1 -1
  343. package/highlevel/types/media/video.cjs +1 -1
  344. package/highlevel/types/media/voice.cjs +1 -1
  345. package/highlevel/types/media/web-page.cjs +1 -1
  346. package/highlevel/types/messages/dialog.cjs +1 -1
  347. package/highlevel/types/messages/draft-message.cjs +1 -1
  348. package/highlevel/types/messages/fact-check.cjs +1 -1
  349. package/highlevel/types/messages/index.d.cts +1 -0
  350. package/highlevel/types/messages/index.d.ts +1 -0
  351. package/highlevel/types/messages/input-message-id.cjs +1 -1
  352. package/highlevel/types/messages/message-action.cjs +21 -1
  353. package/highlevel/types/messages/message-action.d.cts +29 -1
  354. package/highlevel/types/messages/message-action.d.ts +29 -1
  355. package/highlevel/types/messages/message-action.js +20 -0
  356. package/highlevel/types/messages/message-effect.cjs +1 -1
  357. package/highlevel/types/messages/message-entity.cjs +1 -1
  358. package/highlevel/types/messages/message-forward.cjs +1 -1
  359. package/highlevel/types/messages/message-media.cjs +7 -1
  360. package/highlevel/types/messages/message-media.d.cts +2 -1
  361. package/highlevel/types/messages/message-media.d.ts +2 -1
  362. package/highlevel/types/messages/message-media.js +6 -0
  363. package/highlevel/types/messages/message-reactions.cjs +1 -1
  364. package/highlevel/types/messages/message-replies.cjs +1 -1
  365. package/highlevel/types/messages/message.cjs +20 -2
  366. package/highlevel/types/messages/message.d.cts +8 -0
  367. package/highlevel/types/messages/message.d.ts +8 -0
  368. package/highlevel/types/messages/message.js +19 -1
  369. package/highlevel/types/messages/replied-message.cjs +1 -1
  370. package/highlevel/types/messages/search-filters.cjs +1 -1
  371. package/highlevel/types/messages/suggested-post.cjs +29 -0
  372. package/highlevel/types/messages/suggested-post.d.cts +11 -0
  373. package/highlevel/types/messages/suggested-post.d.ts +11 -0
  374. package/highlevel/types/messages/suggested-post.js +24 -0
  375. package/highlevel/types/misc/collectible-info.cjs +1 -1
  376. package/highlevel/types/misc/entities.cjs +1 -1
  377. package/highlevel/types/misc/input-privacy-rule/allow.cjs +1 -1
  378. package/highlevel/types/misc/input-privacy-rule/bundle.cjs +1 -1
  379. package/highlevel/types/misc/input-privacy-rule/disallow.cjs +1 -1
  380. package/highlevel/types/misc/sticker-set.cjs +1 -1
  381. package/highlevel/types/misc/takeout-session.cjs +1 -1
  382. package/highlevel/types/peers/bot-info.cjs +1 -1
  383. package/highlevel/types/peers/bot-verification.cjs +1 -1
  384. package/highlevel/types/peers/chat-colors.cjs +1 -1
  385. package/highlevel/types/peers/chat-event/actions.cjs +1 -1
  386. package/highlevel/types/peers/chat-event/filters.cjs +1 -1
  387. package/highlevel/types/peers/chat-event/index.cjs +1 -1
  388. package/highlevel/types/peers/chat-invite-link-member.cjs +1 -1
  389. package/highlevel/types/peers/chat-invite-link.cjs +1 -1
  390. package/highlevel/types/peers/chat-location.cjs +1 -1
  391. package/highlevel/types/peers/chat-member.cjs +1 -1
  392. package/highlevel/types/peers/chat-permissions.cjs +1 -1
  393. package/highlevel/types/peers/chat-photo.cjs +1 -1
  394. package/highlevel/types/peers/chat-preview.cjs +1 -1
  395. package/highlevel/types/peers/chat.cjs +1 -1
  396. package/highlevel/types/peers/chatlist-preview.cjs +1 -1
  397. package/highlevel/types/peers/forum-topic.cjs +1 -1
  398. package/highlevel/types/peers/full-chat.cjs +1 -1
  399. package/highlevel/types/peers/full-user.cjs +1 -1
  400. package/highlevel/types/peers/peer-settings.cjs +1 -1
  401. package/highlevel/types/peers/peer.cjs +1 -1
  402. package/highlevel/types/peers/peers-index.cjs +1 -1
  403. package/highlevel/types/peers/user.cjs +1 -1
  404. package/highlevel/types/premium/boost-slot.cjs +1 -1
  405. package/highlevel/types/premium/boost-stats.cjs +1 -1
  406. package/highlevel/types/premium/boost.cjs +1 -1
  407. package/highlevel/types/premium/business-account.cjs +1 -1
  408. package/highlevel/types/premium/business-chat-link.cjs +1 -1
  409. package/highlevel/types/premium/business-connection.cjs +1 -1
  410. package/highlevel/types/premium/business-intro.cjs +1 -1
  411. package/highlevel/types/premium/business-location.cjs +1 -1
  412. package/highlevel/types/premium/business-work-hours.cjs +1 -1
  413. package/highlevel/types/premium/saved-star-gift.cjs +1 -1
  414. package/highlevel/types/premium/stars-gift-unique.cjs +1 -1
  415. package/highlevel/types/premium/stars-gift.cjs +1 -1
  416. package/highlevel/types/premium/stars-status.cjs +1 -1
  417. package/highlevel/types/premium/stars-status.d.cts +1 -1
  418. package/highlevel/types/premium/stars-status.d.ts +1 -1
  419. package/highlevel/types/premium/stars-transaction.cjs +23 -5
  420. package/highlevel/types/premium/stars-transaction.d.cts +18 -2
  421. package/highlevel/types/premium/stars-transaction.d.ts +18 -2
  422. package/highlevel/types/premium/stars-transaction.js +22 -4
  423. package/highlevel/types/reactions/emoji-status.cjs +1 -1
  424. package/highlevel/types/reactions/peer-reaction.cjs +1 -1
  425. package/highlevel/types/reactions/reaction-count.cjs +1 -1
  426. package/highlevel/types/reactions/types.cjs +1 -1
  427. package/highlevel/types/stories/all-stories.cjs +1 -1
  428. package/highlevel/types/stories/interactive/base.cjs +1 -1
  429. package/highlevel/types/stories/interactive/channel-post.cjs +1 -1
  430. package/highlevel/types/stories/interactive/index.cjs +1 -1
  431. package/highlevel/types/stories/interactive/input.cjs +1 -1
  432. package/highlevel/types/stories/interactive/location.cjs +1 -1
  433. package/highlevel/types/stories/interactive/reaction.cjs +1 -1
  434. package/highlevel/types/stories/interactive/star-gift.cjs +1 -1
  435. package/highlevel/types/stories/interactive/url.cjs +1 -1
  436. package/highlevel/types/stories/interactive/venue.cjs +1 -1
  437. package/highlevel/types/stories/interactive/weather.cjs +1 -1
  438. package/highlevel/types/stories/peer-stories.cjs +1 -1
  439. package/highlevel/types/stories/stealth-mode.cjs +1 -1
  440. package/highlevel/types/stories/story-interactions.cjs +1 -1
  441. package/highlevel/types/stories/story-viewer.cjs +1 -1
  442. package/highlevel/types/stories/story.cjs +1 -1
  443. package/highlevel/types/updates/bot-chat-join-request.cjs +1 -1
  444. package/highlevel/types/updates/bot-reaction.cjs +1 -1
  445. package/highlevel/types/updates/bot-stopped.cjs +1 -1
  446. package/highlevel/types/updates/business-message.cjs +1 -1
  447. package/highlevel/types/updates/callback-query.cjs +1 -1
  448. package/highlevel/types/updates/chat-join-request.cjs +1 -1
  449. package/highlevel/types/updates/chat-member-update.cjs +1 -1
  450. package/highlevel/types/updates/chosen-inline-result.cjs +1 -1
  451. package/highlevel/types/updates/delete-business-message-update.cjs +1 -1
  452. package/highlevel/types/updates/delete-message-update.cjs +1 -1
  453. package/highlevel/types/updates/delete-story-update.cjs +1 -1
  454. package/highlevel/types/updates/history-read-update.cjs +1 -1
  455. package/highlevel/types/updates/inline-query.cjs +1 -1
  456. package/highlevel/types/updates/parse-update.cjs +1 -1
  457. package/highlevel/types/updates/poll-update.cjs +1 -1
  458. package/highlevel/types/updates/poll-vote.cjs +1 -1
  459. package/highlevel/types/updates/pre-checkout-query.cjs +1 -1
  460. package/highlevel/types/updates/story-update.cjs +1 -1
  461. package/highlevel/types/updates/user-status-update.cjs +1 -1
  462. package/highlevel/types/updates/user-typing-update.cjs +1 -1
  463. package/highlevel/updates/manager.cjs +1 -1
  464. package/highlevel/updates/parsed.cjs +1 -1
  465. package/highlevel/updates/types.cjs +1 -1
  466. package/highlevel/updates/utils.cjs +1 -1
  467. package/highlevel/utils/convert-file-id.cjs +1 -1
  468. package/highlevel/utils/entities.cjs +1 -1
  469. package/highlevel/utils/file-type.cjs +1 -1
  470. package/highlevel/utils/file-utils.cjs +1 -1
  471. package/highlevel/utils/inline-utils.cjs +1 -1
  472. package/highlevel/utils/inspectable.cjs +1 -1
  473. package/highlevel/utils/memoize.cjs +1 -1
  474. package/highlevel/utils/misc-utils.cjs +1 -1
  475. package/highlevel/utils/peer-utils.cjs +1 -1
  476. package/highlevel/utils/query-batcher.cjs +1 -1
  477. package/highlevel/utils/rps-meter.cjs +1 -1
  478. package/highlevel/utils/stream-utils.cjs +1 -1
  479. package/highlevel/utils/string-session.cjs +1 -1
  480. package/highlevel/utils/voice-utils.cjs +1 -1
  481. package/highlevel/worker/app-config.cjs +1 -1
  482. package/highlevel/worker/errors.cjs +1 -1
  483. package/highlevel/worker/invoker.cjs +1 -1
  484. package/highlevel/worker/port.cjs +1 -1
  485. package/highlevel/worker/protocol.cjs +1 -1
  486. package/highlevel/worker/storage.cjs +1 -1
  487. package/highlevel/worker/worker.cjs +1 -1
  488. package/index.cjs +6 -1
  489. package/index.js +5 -0
  490. package/methods.cjs +5 -1
  491. package/methods.js +4 -0
  492. package/network/auth-key.cjs +1 -1
  493. package/network/authorization.cjs +1 -1
  494. package/network/client.cjs +1 -1
  495. package/network/config-manager.cjs +1 -1
  496. package/network/middlewares/bundle.cjs +1 -1
  497. package/network/middlewares/default.cjs +1 -1
  498. package/network/middlewares/flood-waiter.cjs +1 -1
  499. package/network/middlewares/internal-errors.cjs +1 -1
  500. package/network/middlewares/on-error.cjs +1 -1
  501. package/network/middlewares/on-method.cjs +1 -1
  502. package/network/mtproto-session.cjs +1 -1
  503. package/network/mtproxy/_fake-tls.cjs +1 -1
  504. package/network/mtproxy/index.cjs +1 -1
  505. package/network/multi-session-connection.cjs +1 -1
  506. package/network/network-manager.cjs +2 -2
  507. package/network/network-manager.js +1 -1
  508. package/network/persistent-connection.cjs +1 -1
  509. package/network/server-salt.cjs +1 -1
  510. package/network/session-connection.cjs +2 -2
  511. package/network/session-connection.js +1 -1
  512. package/network/transports/abstract.cjs +1 -1
  513. package/network/transports/intermediate.cjs +1 -1
  514. package/network/transports/obfuscated.cjs +1 -1
  515. package/package.json +2 -2
  516. package/storage/driver.cjs +1 -1
  517. package/storage/memory/driver.cjs +1 -1
  518. package/storage/memory/index.cjs +1 -1
  519. package/storage/memory/repository/auth-keys.cjs +1 -1
  520. package/storage/memory/repository/kv.cjs +1 -1
  521. package/storage/memory/repository/peers.cjs +1 -1
  522. package/storage/memory/repository/ref-messages.cjs +1 -1
  523. package/storage/service/auth-keys.cjs +1 -1
  524. package/storage/service/base.cjs +1 -1
  525. package/storage/service/default-dcs.cjs +1 -1
  526. package/storage/service/future-salts.cjs +1 -1
  527. package/storage/sqlite/driver.cjs +1 -1
  528. package/storage/sqlite/index.cjs +1 -1
  529. package/storage/sqlite/repository/auth-keys.cjs +1 -1
  530. package/storage/sqlite/repository/kv.cjs +1 -1
  531. package/storage/sqlite/repository/peers.cjs +1 -1
  532. package/storage/sqlite/repository/ref-messages.cjs +1 -1
  533. package/storage/storage.cjs +1 -1
  534. package/types/errors.cjs +1 -1
  535. package/types/utils.cjs +1 -1
  536. package/utils/abort-signal.cjs +1 -1
  537. package/utils/bigint-utils.cjs +1 -1
  538. package/utils/binary/asn1-parser.cjs +1 -1
  539. package/utils/binary/compat.cjs +25 -7
  540. package/utils/binary/compat.js +24 -6
  541. package/utils/binary/serialization.cjs +1 -1
  542. package/utils/crypto/abstract.cjs +1 -1
  543. package/utils/crypto/factorization.cjs +1 -1
  544. package/utils/crypto/keys.cjs +1 -1
  545. package/utils/crypto/miller-rabin.cjs +1 -1
  546. package/utils/crypto/mtproto.cjs +1 -1
  547. package/utils/crypto/password.cjs +1 -1
  548. package/utils/dcs.cjs +1 -1
  549. package/utils/early-timer.cjs +1 -1
  550. package/utils/error-reporting.cjs +1 -1
  551. package/utils/function-utils.cjs +1 -1
  552. package/utils/links/bots.cjs +4 -1
  553. package/utils/links/bots.js +3 -0
  554. package/utils/links/bundle.cjs +1 -1
  555. package/utils/links/calls.cjs +1 -1
  556. package/utils/links/chat.cjs +1 -1
  557. package/utils/links/common.cjs +1 -1
  558. package/utils/links/misc.cjs +1 -1
  559. package/utils/links/proxy.cjs +1 -1
  560. package/utils/links/stickers.cjs +1 -1
  561. package/utils/links/user.cjs +1 -1
  562. package/utils/logger.cjs +1 -1
  563. package/utils/long-utils.cjs +1 -1
  564. package/utils/misc-utils.cjs +1 -1
  565. package/utils/peer-utils.cjs +1 -1
  566. package/utils/sorted-array.cjs +1 -1
  567. package/utils/tl-json.cjs +1 -1
  568. package/utils/type-assertions.cjs +1 -1
  569. package/utils.cjs +1 -1
  570. package/worker.cjs +1 -1
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -131,6 +131,7 @@ export { hideJoinRequest } from './methods/invite-links/hide-join-request.js';
131
131
  export { iterInviteLinkMembers } from './methods/invite-links/iter-invite-link-members.js';
132
132
  export { iterInviteLinks } from './methods/invite-links/iter-invite-links.js';
133
133
  export { revokeInviteLink } from './methods/invite-links/revoke-invite-link.js';
134
+ export { appendTodoList } from './methods/messages/append-todo-list.js';
134
135
  export { closePoll } from './methods/messages/close-poll.js';
135
136
  export { deleteMessagesById } from './methods/messages/delete-messages.js';
136
137
  export { deleteMessages } from './methods/messages/delete-messages.js';
@@ -200,6 +201,7 @@ export { sendText } from './methods/messages/send-text.js';
200
201
  export { sendTyping } from './methods/messages/send-typing.js';
201
202
  export { sendVote } from './methods/messages/send-vote.js';
202
203
  export { setTyping } from './methods/messages/set-typing.js';
204
+ export { toggleTodoCompleted } from './methods/messages/toggle-todo-completed.js';
203
205
  export { translateMessage } from './methods/messages/translate-message.js';
204
206
  export { translateText } from './methods/messages/translate-text.js';
205
207
  export { unpinAllMessages } from './methods/messages/unpin-all-messages.js';
@@ -131,6 +131,7 @@ export { hideJoinRequest } from './methods/invite-links/hide-join-request.js';
131
131
  export { iterInviteLinkMembers } from './methods/invite-links/iter-invite-link-members.js';
132
132
  export { iterInviteLinks } from './methods/invite-links/iter-invite-links.js';
133
133
  export { revokeInviteLink } from './methods/invite-links/revoke-invite-link.js';
134
+ export { appendTodoList } from './methods/messages/append-todo-list.js';
134
135
  export { closePoll } from './methods/messages/close-poll.js';
135
136
  export { deleteMessagesById } from './methods/messages/delete-messages.js';
136
137
  export { deleteMessages } from './methods/messages/delete-messages.js';
@@ -200,6 +201,7 @@ export { sendText } from './methods/messages/send-text.js';
200
201
  export { sendTyping } from './methods/messages/send-typing.js';
201
202
  export { sendVote } from './methods/messages/send-vote.js';
202
203
  export { setTyping } from './methods/messages/set-typing.js';
204
+ export { toggleTodoCompleted } from './methods/messages/toggle-todo-completed.js';
203
205
  export { translateMessage } from './methods/messages/translate-message.js';
204
206
  export { translateText } from './methods/messages/translate-text.js';
205
207
  export { unpinAllMessages } from './methods/messages/unpin-all-messages.js';
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
3
+ console.warn("[@mtcute/core] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
4
  console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";