@mtcute/core 0.30.3 → 0.32.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 (313) hide show
  1. package/client.cjs +85 -0
  2. package/client.js +85 -0
  3. package/highlevel/client.d.cts +411 -116
  4. package/highlevel/client.d.ts +411 -116
  5. package/highlevel/methods/auth/sign-in-qr.cjs +2 -0
  6. package/highlevel/methods/auth/sign-in-qr.js +2 -0
  7. package/highlevel/methods/auth/sign-in-qr.test.d.cts +1 -0
  8. package/highlevel/methods/auth/sign-in-qr.test.d.ts +1 -0
  9. package/highlevel/methods/chats/build-peers-index.cjs +45 -0
  10. package/highlevel/methods/chats/build-peers-index.d.cts +13 -0
  11. package/highlevel/methods/chats/build-peers-index.d.ts +13 -0
  12. package/highlevel/methods/chats/build-peers-index.js +40 -0
  13. package/highlevel/methods/chats/join-chat.cjs +1 -1
  14. package/highlevel/methods/chats/join-chat.d.cts +2 -1
  15. package/highlevel/methods/chats/join-chat.d.ts +2 -1
  16. package/highlevel/methods/chats/join-chat.js +1 -1
  17. package/highlevel/methods/chats/transfer-chat-ownership.cjs +6 -17
  18. package/highlevel/methods/chats/transfer-chat-ownership.js +6 -17
  19. package/highlevel/methods/communities/ban-community-participant.cjs +30 -0
  20. package/highlevel/methods/communities/ban-community-participant.d.cts +20 -0
  21. package/highlevel/methods/communities/ban-community-participant.d.ts +20 -0
  22. package/highlevel/methods/communities/ban-community-participant.js +25 -0
  23. package/highlevel/methods/communities/create-community.cjs +29 -0
  24. package/highlevel/methods/communities/create-community.d.cts +22 -0
  25. package/highlevel/methods/communities/create-community.d.ts +22 -0
  26. package/highlevel/methods/communities/create-community.js +24 -0
  27. package/highlevel/methods/communities/get-community-link-requests.cjs +27 -0
  28. package/highlevel/methods/communities/get-community-link-requests.d.cts +17 -0
  29. package/highlevel/methods/communities/get-community-link-requests.d.ts +17 -0
  30. package/highlevel/methods/communities/get-community-link-requests.js +22 -0
  31. package/highlevel/methods/communities/get-community-participant-chats.cjs +24 -0
  32. package/highlevel/methods/communities/get-community-participant-chats.d.cts +17 -0
  33. package/highlevel/methods/communities/get-community-participant-chats.d.ts +17 -0
  34. package/highlevel/methods/communities/get-community-participant-chats.js +19 -0
  35. package/highlevel/methods/communities/get-joined-communities.cjs +21 -0
  36. package/highlevel/methods/communities/get-joined-communities.d.cts +6 -0
  37. package/highlevel/methods/communities/get-joined-communities.d.ts +6 -0
  38. package/highlevel/methods/communities/get-joined-communities.js +16 -0
  39. package/highlevel/methods/communities/hide-community-link-request.cjs +30 -0
  40. package/highlevel/methods/communities/hide-community-link-request.d.cts +22 -0
  41. package/highlevel/methods/communities/hide-community-link-request.d.ts +22 -0
  42. package/highlevel/methods/communities/hide-community-link-request.js +25 -0
  43. package/highlevel/methods/communities/link-community-peer.cjs +32 -0
  44. package/highlevel/methods/communities/link-community-peer.d.cts +22 -0
  45. package/highlevel/methods/communities/link-community-peer.d.ts +22 -0
  46. package/highlevel/methods/communities/link-community-peer.js +27 -0
  47. package/highlevel/methods/communities/toggle-community-collapsed.cjs +18 -0
  48. package/highlevel/methods/communities/toggle-community-collapsed.d.cts +16 -0
  49. package/highlevel/methods/communities/toggle-community-collapsed.d.ts +16 -0
  50. package/highlevel/methods/communities/toggle-community-collapsed.js +13 -0
  51. package/highlevel/methods/ephemeral/delete-all-welcome-messages.cjs +17 -0
  52. package/highlevel/methods/ephemeral/delete-all-welcome-messages.d.cts +8 -0
  53. package/highlevel/methods/ephemeral/delete-all-welcome-messages.d.ts +8 -0
  54. package/highlevel/methods/ephemeral/delete-all-welcome-messages.js +12 -0
  55. package/highlevel/methods/ephemeral/delete-ephemeral-message.cjs +20 -0
  56. package/highlevel/methods/ephemeral/delete-ephemeral-message.d.cts +13 -0
  57. package/highlevel/methods/ephemeral/delete-ephemeral-message.d.ts +13 -0
  58. package/highlevel/methods/ephemeral/delete-ephemeral-message.js +15 -0
  59. package/highlevel/methods/ephemeral/delete-welcome-message.cjs +18 -0
  60. package/highlevel/methods/ephemeral/delete-welcome-message.d.cts +9 -0
  61. package/highlevel/methods/ephemeral/delete-welcome-message.d.ts +9 -0
  62. package/highlevel/methods/ephemeral/delete-welcome-message.js +13 -0
  63. package/highlevel/methods/ephemeral/edit-ephemeral-message.cjs +41 -0
  64. package/highlevel/methods/ephemeral/edit-ephemeral-message.d.cts +39 -0
  65. package/highlevel/methods/ephemeral/edit-ephemeral-message.d.ts +39 -0
  66. package/highlevel/methods/ephemeral/edit-ephemeral-message.js +36 -0
  67. package/highlevel/methods/ephemeral/find-in-update.cjs +27 -0
  68. package/highlevel/methods/ephemeral/find-in-update.d.cts +8 -0
  69. package/highlevel/methods/ephemeral/find-in-update.d.ts +8 -0
  70. package/highlevel/methods/ephemeral/find-in-update.js +22 -0
  71. package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.cjs +31 -0
  72. package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.d.cts +29 -0
  73. package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.d.ts +29 -0
  74. package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.js +26 -0
  75. package/highlevel/methods/ephemeral/get-welcome-messages.cjs +29 -0
  76. package/highlevel/methods/ephemeral/get-welcome-messages.d.cts +8 -0
  77. package/highlevel/methods/ephemeral/get-welcome-messages.d.ts +8 -0
  78. package/highlevel/methods/ephemeral/get-welcome-messages.js +24 -0
  79. package/highlevel/methods/ephemeral/send-ephemeral-message.cjs +48 -0
  80. package/highlevel/methods/ephemeral/send-ephemeral-message.d.cts +47 -0
  81. package/highlevel/methods/ephemeral/send-ephemeral-message.d.ts +47 -0
  82. package/highlevel/methods/ephemeral/send-ephemeral-message.js +43 -0
  83. package/highlevel/methods/files/download-iterable.cjs +7 -2
  84. package/highlevel/methods/files/download-iterable.js +7 -2
  85. package/highlevel/methods/files/download-iterable.test.d.cts +1 -0
  86. package/highlevel/methods/files/download-iterable.test.d.ts +1 -0
  87. package/highlevel/methods/files/download-stream.cjs +5 -6
  88. package/highlevel/methods/files/download-stream.js +5 -6
  89. package/highlevel/methods/files/normalize-input-media.cjs +25 -4
  90. package/highlevel/methods/files/normalize-input-media.js +25 -4
  91. package/highlevel/methods/forums/create-forum-topic.d.cts +7 -0
  92. package/highlevel/methods/forums/create-forum-topic.d.ts +7 -0
  93. package/highlevel/methods/forums/delete-forum-topic-history.d.cts +1 -1
  94. package/highlevel/methods/forums/delete-forum-topic-history.d.ts +1 -1
  95. package/highlevel/methods/forums/edit-forum-topic.cjs +2 -2
  96. package/highlevel/methods/forums/edit-forum-topic.d.cts +2 -2
  97. package/highlevel/methods/forums/edit-forum-topic.d.ts +2 -2
  98. package/highlevel/methods/forums/edit-forum-topic.js +2 -2
  99. package/highlevel/methods/forums/get-forum-topics-by-id.cjs +5 -1
  100. package/highlevel/methods/forums/get-forum-topics-by-id.d.cts +9 -1
  101. package/highlevel/methods/forums/get-forum-topics-by-id.d.ts +9 -1
  102. package/highlevel/methods/forums/get-forum-topics-by-id.js +5 -1
  103. package/highlevel/methods/forums/get-forum-topics-by-id.test.d.cts +1 -0
  104. package/highlevel/methods/forums/get-forum-topics-by-id.test.d.ts +1 -0
  105. package/highlevel/methods/forums/get-forum-topics.cjs +1 -1
  106. package/highlevel/methods/forums/get-forum-topics.js +1 -1
  107. package/highlevel/methods/forums/toggle-forum-topic-closed.cjs +1 -1
  108. package/highlevel/methods/forums/toggle-forum-topic-closed.d.cts +1 -1
  109. package/highlevel/methods/forums/toggle-forum-topic-closed.d.ts +1 -1
  110. package/highlevel/methods/forums/toggle-forum-topic-closed.js +1 -1
  111. package/highlevel/methods/forums/toggle-forum-topic-pinned.d.cts +1 -1
  112. package/highlevel/methods/forums/toggle-forum-topic-pinned.d.ts +1 -1
  113. package/highlevel/methods/forums/toggle-general-topic-hidden.cjs +3 -3
  114. package/highlevel/methods/forums/toggle-general-topic-hidden.js +4 -4
  115. package/highlevel/methods/gifts/buy-resale-gift.cjs +5 -2
  116. package/highlevel/methods/gifts/buy-resale-gift.d.cts +11 -1
  117. package/highlevel/methods/gifts/buy-resale-gift.d.ts +11 -1
  118. package/highlevel/methods/gifts/buy-resale-gift.js +5 -2
  119. package/highlevel/methods/messages/forward-messages.cjs +1 -0
  120. package/highlevel/methods/messages/forward-messages.d.cts +2 -0
  121. package/highlevel/methods/messages/forward-messages.d.ts +2 -0
  122. package/highlevel/methods/messages/forward-messages.js +1 -0
  123. package/highlevel/methods/messages/normalize-rich-message.cjs +3 -0
  124. package/highlevel/methods/messages/normalize-rich-message.js +3 -0
  125. package/highlevel/methods/messages/send-common.d.cts +7 -1
  126. package/highlevel/methods/messages/send-common.d.ts +7 -1
  127. package/highlevel/methods/messages/send-text.cjs +70 -35
  128. package/highlevel/methods/messages/send-text.js +70 -35
  129. package/highlevel/methods/messages/send-typing.d.cts +3 -3
  130. package/highlevel/methods/messages/send-typing.d.ts +3 -3
  131. package/highlevel/methods/messages/set-typing.cjs +1 -1
  132. package/highlevel/methods/messages/set-typing.d.cts +2 -2
  133. package/highlevel/methods/messages/set-typing.d.ts +2 -2
  134. package/highlevel/methods/messages/set-typing.js +1 -1
  135. package/highlevel/methods/users/resolve-peer.cjs +11 -1
  136. package/highlevel/methods/users/resolve-peer.js +11 -1
  137. package/highlevel/methods.d.cts +19 -0
  138. package/highlevel/methods.d.ts +19 -0
  139. package/highlevel/storage/service/peers.cjs +25 -0
  140. package/highlevel/storage/service/peers.js +25 -0
  141. package/highlevel/storage/service/peers.test.d.cts +1 -0
  142. package/highlevel/storage/service/peers.test.d.ts +1 -0
  143. package/highlevel/types/bots/keyboards/builder.cjs +5 -5
  144. package/highlevel/types/bots/keyboards/builder.d.cts +8 -9
  145. package/highlevel/types/bots/keyboards/builder.d.ts +8 -9
  146. package/highlevel/types/bots/keyboards/builder.js +5 -5
  147. package/highlevel/types/bots/keyboards/factories.cjs +51 -103
  148. package/highlevel/types/bots/keyboards/factories.d.cts +58 -89
  149. package/highlevel/types/bots/keyboards/factories.d.ts +58 -89
  150. package/highlevel/types/bots/keyboards/factories.js +51 -103
  151. package/highlevel/types/bots/keyboards/index.d.cts +3 -3
  152. package/highlevel/types/bots/keyboards/index.d.ts +3 -3
  153. package/highlevel/types/bots/keyboards/normalize.cjs +131 -0
  154. package/highlevel/types/bots/keyboards/normalize.d.cts +10 -0
  155. package/highlevel/types/bots/keyboards/normalize.d.ts +10 -0
  156. package/highlevel/types/bots/keyboards/normalize.js +126 -0
  157. package/highlevel/types/bots/keyboards/types.d.cts +160 -4
  158. package/highlevel/types/bots/keyboards/types.d.ts +160 -4
  159. package/highlevel/types/conversation.cjs +8 -0
  160. package/highlevel/types/conversation.d.cts +1 -0
  161. package/highlevel/types/conversation.d.ts +1 -0
  162. package/highlevel/types/conversation.js +10 -2
  163. package/highlevel/types/conversation.test.d.cts +1 -0
  164. package/highlevel/types/conversation.test.d.ts +1 -0
  165. package/highlevel/types/messages/dialog.cjs +8 -1
  166. package/highlevel/types/messages/dialog.d.cts +3 -0
  167. package/highlevel/types/messages/dialog.d.ts +3 -0
  168. package/highlevel/types/messages/dialog.js +8 -1
  169. package/highlevel/types/messages/dialog.test.d.cts +1 -0
  170. package/highlevel/types/messages/dialog.test.d.ts +1 -0
  171. package/highlevel/types/messages/ephemeral-message.cjs +135 -0
  172. package/highlevel/types/messages/ephemeral-message.d.cts +75 -0
  173. package/highlevel/types/messages/ephemeral-message.d.ts +75 -0
  174. package/highlevel/types/messages/ephemeral-message.js +130 -0
  175. package/highlevel/types/messages/index.d.cts +1 -0
  176. package/highlevel/types/messages/index.d.ts +1 -0
  177. package/highlevel/types/messages/message-action.cjs +14 -1
  178. package/highlevel/types/messages/message-action.d.cts +18 -1
  179. package/highlevel/types/messages/message-action.d.ts +18 -1
  180. package/highlevel/types/messages/message-action.js +14 -1
  181. package/highlevel/types/messages/message.cjs +7 -2
  182. package/highlevel/types/messages/message.d.cts +2 -2
  183. package/highlevel/types/messages/message.d.ts +2 -2
  184. package/highlevel/types/messages/message.js +8 -3
  185. package/highlevel/types/messages/replied-message.cjs +5 -1
  186. package/highlevel/types/messages/replied-message.d.cts +5 -1
  187. package/highlevel/types/messages/replied-message.d.ts +5 -1
  188. package/highlevel/types/messages/replied-message.js +5 -1
  189. package/highlevel/types/messages/rich/inner.cjs +37 -0
  190. package/highlevel/types/messages/rich/inner.d.cts +19 -0
  191. package/highlevel/types/messages/rich/inner.d.ts +19 -0
  192. package/highlevel/types/messages/rich/inner.js +37 -0
  193. package/highlevel/types/peers/chat.cjs +23 -3
  194. package/highlevel/types/peers/chat.d.cts +8 -3
  195. package/highlevel/types/peers/chat.d.ts +8 -3
  196. package/highlevel/types/peers/chat.js +24 -4
  197. package/highlevel/types/peers/community-peer.cjs +60 -0
  198. package/highlevel/types/peers/community-peer.d.cts +37 -0
  199. package/highlevel/types/peers/community-peer.d.ts +37 -0
  200. package/highlevel/types/peers/community-peer.js +55 -0
  201. package/highlevel/types/peers/full-chat.cjs +24 -5
  202. package/highlevel/types/peers/full-chat.d.cts +7 -0
  203. package/highlevel/types/peers/full-chat.d.ts +7 -0
  204. package/highlevel/types/peers/full-chat.js +24 -5
  205. package/highlevel/types/peers/index.d.cts +1 -0
  206. package/highlevel/types/peers/index.d.ts +1 -0
  207. package/highlevel/types/peers/peer.cjs +2 -0
  208. package/highlevel/types/peers/peer.js +2 -0
  209. package/highlevel/types/peers/typing-status.d.cts +4 -1
  210. package/highlevel/types/peers/typing-status.d.ts +4 -1
  211. package/highlevel/types/peers/user.cjs +6 -0
  212. package/highlevel/types/peers/user.d.cts +2 -0
  213. package/highlevel/types/peers/user.d.ts +2 -0
  214. package/highlevel/types/peers/user.js +6 -0
  215. package/highlevel/types/updates/delete-ephemeral-messages-update.cjs +27 -0
  216. package/highlevel/types/updates/delete-ephemeral-messages-update.d.cts +15 -0
  217. package/highlevel/types/updates/delete-ephemeral-messages-update.d.ts +15 -0
  218. package/highlevel/types/updates/delete-ephemeral-messages-update.js +22 -0
  219. package/highlevel/types/updates/ephemeral-callback-query.cjs +69 -0
  220. package/highlevel/types/updates/ephemeral-callback-query.d.cts +44 -0
  221. package/highlevel/types/updates/ephemeral-callback-query.d.ts +44 -0
  222. package/highlevel/types/updates/ephemeral-callback-query.js +64 -0
  223. package/highlevel/types/updates/index.d.cts +16 -2
  224. package/highlevel/types/updates/index.d.ts +16 -2
  225. package/highlevel/types/updates/parse-update.cjs +12 -1
  226. package/highlevel/types/updates/parse-update.js +12 -1
  227. package/highlevel/types/updates/user-typing-update.cjs +18 -0
  228. package/highlevel/types/updates/user-typing-update.d.cts +9 -0
  229. package/highlevel/types/updates/user-typing-update.d.ts +9 -0
  230. package/highlevel/types/updates/user-typing-update.js +18 -0
  231. package/highlevel/updates/manager.cjs +71 -41
  232. package/highlevel/updates/manager.d.cts +1 -0
  233. package/highlevel/updates/manager.d.ts +1 -0
  234. package/highlevel/updates/manager.js +71 -41
  235. package/highlevel/updates/manager.test.d.cts +1 -0
  236. package/highlevel/updates/manager.test.d.ts +1 -0
  237. package/highlevel/utils/stream-utils.cjs +8 -4
  238. package/highlevel/utils/stream-utils.js +8 -4
  239. package/highlevel/utils/stream-utils.test.d.cts +1 -0
  240. package/highlevel/utils/stream-utils.test.d.ts +1 -0
  241. package/highlevel/utils/walk-page-blocks.cjs +9 -0
  242. package/highlevel/utils/walk-page-blocks.js +9 -0
  243. package/index.cjs +10 -0
  244. package/index.js +11 -1
  245. package/methods.cjs +33 -0
  246. package/methods.js +33 -0
  247. package/network/client.cjs +4 -3
  248. package/network/client.d.cts +1 -0
  249. package/network/client.d.ts +1 -0
  250. package/network/client.js +4 -3
  251. package/network/middlewares/flood-waiter.cjs +2 -2
  252. package/network/middlewares/flood-waiter.js +2 -2
  253. package/network/middlewares/internal-errors.cjs +1 -1
  254. package/network/middlewares/internal-errors.js +1 -1
  255. package/network/middlewares/media-throttle.cjs +1 -1
  256. package/network/middlewares/media-throttle.js +1 -1
  257. package/network/mtproto-session.cjs +9 -2
  258. package/network/mtproto-session.d.cts +3 -1
  259. package/network/mtproto-session.d.ts +3 -1
  260. package/network/mtproto-session.js +9 -2
  261. package/network/mtproxy/index.cjs +4 -3
  262. package/network/mtproxy/index.d.cts +2 -2
  263. package/network/mtproxy/index.d.ts +2 -2
  264. package/network/mtproxy/index.js +4 -3
  265. package/network/network-manager.cjs +44 -16
  266. package/network/network-manager.d.cts +10 -3
  267. package/network/network-manager.d.ts +10 -3
  268. package/network/network-manager.js +45 -17
  269. package/network/network-manager.test.d.cts +1 -0
  270. package/network/network-manager.test.d.ts +1 -0
  271. package/network/persistent-connection.cjs +10 -2
  272. package/network/persistent-connection.js +10 -2
  273. package/network/session-connection.cjs +15 -6
  274. package/network/session-connection.js +15 -6
  275. package/network/session-connection.test.d.cts +1 -0
  276. package/network/session-connection.test.d.ts +1 -0
  277. package/network/transports/abstract.cjs +16 -0
  278. package/network/transports/abstract.d.cts +8 -2
  279. package/network/transports/abstract.d.ts +8 -2
  280. package/network/transports/abstract.js +17 -1
  281. package/network/transports/obfuscated.cjs +3 -1
  282. package/network/transports/obfuscated.js +3 -1
  283. package/package.json +6 -6
  284. package/tl/api-schema.json +1 -1
  285. package/tl/binary/reader.cjs +221 -103
  286. package/tl/binary/reader.js +221 -103
  287. package/tl/binary/writer.cjs +693 -277
  288. package/tl/binary/writer.js +693 -277
  289. package/tl/compat/reader.cjs +93 -0
  290. package/tl/compat/reader.js +93 -0
  291. package/tl/index.d.cts +12529 -4762
  292. package/tl/index.d.ts +12529 -4762
  293. package/tl/inner-tl.cjs +90 -24
  294. package/tl/inner-tl.js +90 -24
  295. package/tl/raw-errors.json +1 -1
  296. package/tl/rpc-error.test.d.cts +1 -0
  297. package/tl/rpc-error.test.d.ts +1 -0
  298. package/utils/abort-signal.cjs +1 -12
  299. package/utils/abort-signal.js +1 -12
  300. package/utils/abort-signal.test.d.cts +1 -0
  301. package/utils/abort-signal.test.d.ts +1 -0
  302. package/utils/binary/compat.cjs +189 -29
  303. package/utils/binary/compat.js +189 -29
  304. package/utils/early-timer.cjs +3 -11
  305. package/utils/early-timer.js +3 -11
  306. package/utils/early-timer.test.d.cts +1 -0
  307. package/utils/early-timer.test.d.ts +1 -0
  308. package/utils/function-utils.cjs +9 -4
  309. package/utils/function-utils.js +9 -4
  310. package/utils/links/bots.cjs +10 -2
  311. package/utils/links/bots.js +10 -2
  312. package/utils/peer-utils.cjs +8 -0
  313. package/utils/peer-utils.js +8 -0
@@ -372,6 +372,99 @@ var m = {
372
372
  2515496747: function(r) {
373
373
  var flags = r.uint(), flags2 = r.uint();
374
374
  return { _: "message_layer225", out: !!(flags & 2), mentioned: !!(flags & 16), mediaUnread: !!(flags & 32), silent: !!(flags & 8192), post: !!(flags & 16384), fromScheduled: !!(flags & 262144), legacy: !!(flags & 524288), editHide: !!(flags & 2097152), pinned: !!(flags & 16777216), noforwards: !!(flags & 67108864), invertMedia: !!(flags & 134217728), offline: !!(flags2 & 2), videoProcessingPending: !!(flags2 & 16), paidSuggestedPostStars: !!(flags2 & 256), paidSuggestedPostTon: !!(flags2 & 512), id: r.int(), fromId: flags & 256 ? r.object() : void 0, fromBoostsApplied: flags & 536870912 ? r.int() : void 0, fromRank: flags2 & 4096 ? r.string() : void 0, peerId: r.object(), savedPeerId: flags & 268435456 ? r.object() : void 0, fwdFrom: flags & 4 ? r.object() : void 0, viaBotId: flags & 2048 ? r.int53() : void 0, viaBusinessBotId: flags2 & 1 ? r.int53() : void 0, guestchatViaFrom: flags2 & 524288 ? r.object() : void 0, replyTo: flags & 8 ? r.object() : void 0, date: r.int(), message: r.string(), media: flags & 512 ? r.object() : void 0, replyMarkup: flags & 64 ? r.object() : void 0, entities: flags & 128 ? r.vector(r.object) : void 0, views: flags & 1024 ? r.int() : void 0, forwards: flags & 1024 ? r.int() : void 0, replies: flags & 8388608 ? r.object() : void 0, editDate: flags & 32768 ? r.int() : void 0, postAuthor: flags & 65536 ? r.string() : void 0, groupedId: flags & 131072 ? r.long() : void 0, reactions: flags & 1048576 ? r.object() : void 0, restrictionReason: flags & 4194304 ? r.vector(r.object) : void 0, ttlPeriod: flags & 33554432 ? r.int() : void 0, quickReplyShortcutId: flags & 1073741824 ? r.int() : void 0, effect: flags2 & 4 ? r.long() : void 0, factcheck: flags2 & 8 ? r.object() : void 0, reportDeliveryUntilDate: flags2 & 32 ? r.int() : void 0, paidMessageStars: flags2 & 64 ? r.long() : void 0, suggestedPost: flags2 & 128 ? r.object() : void 0, scheduleRepeatPeriod: flags2 & 1024 ? r.int() : void 0, summaryFromLanguage: flags2 & 2048 ? r.string() : void 0 };
375
+ },
376
+ 473084188: function(r) {
377
+ var flags = r.uint(), flags2 = r.uint();
378
+ return { _: "channel_layer227", creator: !!(flags & 1), left: !!(flags & 4), broadcast: !!(flags & 32), verified: !!(flags & 128), megagroup: !!(flags & 256), restricted: !!(flags & 512), signatures: !!(flags & 2048), min: !!(flags & 4096), scam: !!(flags & 524288), hasLink: !!(flags & 1048576), hasGeo: !!(flags & 2097152), slowmodeEnabled: !!(flags & 4194304), callActive: !!(flags & 8388608), callNotEmpty: !!(flags & 16777216), fake: !!(flags & 33554432), gigagroup: !!(flags & 67108864), noforwards: !!(flags & 134217728), joinToSend: !!(flags & 268435456), joinRequest: !!(flags & 536870912), forum: !!(flags & 1073741824), storiesHidden: !!(flags2 & 2), storiesHiddenMin: !!(flags2 & 4), storiesUnavailable: !!(flags2 & 8), signatureProfiles: !!(flags2 & 4096), autotranslation: !!(flags2 & 32768), broadcastMessagesAllowed: !!(flags2 & 65536), monoforum: !!(flags2 & 131072), forumTabs: !!(flags2 & 524288), id: r.int53(), accessHash: flags & 8192 ? r.long() : void 0, title: r.string(), username: flags & 64 ? r.string() : void 0, photo: r.object(), date: r.int(), restrictionReason: flags & 512 ? r.vector(r.object) : void 0, adminRights: flags & 16384 ? r.object() : void 0, bannedRights: flags & 32768 ? r.object() : void 0, defaultBannedRights: flags & 262144 ? r.object() : void 0, participantsCount: flags & 131072 ? r.int() : void 0, usernames: flags2 & 1 ? r.vector(r.object) : void 0, storiesMaxId: flags2 & 16 ? r.object() : void 0, color: flags2 & 128 ? r.object() : void 0, profileColor: flags2 & 256 ? r.object() : void 0, emojiStatus: flags2 & 512 ? r.object() : void 0, level: flags2 & 1024 ? r.int() : void 0, subscriptionUntilDate: flags2 & 2048 ? r.int() : void 0, botVerificationIcon: flags2 & 8192 ? r.long() : void 0, sendPaidMessagesStars: flags2 & 16384 ? r.long() : void 0, linkedMonoforumId: flags2 & 262144 ? r.int53() : void 0 };
379
+ },
380
+ 3262826695: function(r) {
381
+ return { _: "botCommand_layer227", command: r.string(), description: r.string() };
382
+ },
383
+ 829899656: function(r) {
384
+ var flags = r.uint(), flags2 = r.uint();
385
+ return { _: "user_layer227", self: !!(flags & 1024), contact: !!(flags & 2048), mutualContact: !!(flags & 4096), deleted: !!(flags & 8192), bot: !!(flags & 16384), botChatHistory: !!(flags & 32768), botNochats: !!(flags & 65536), verified: !!(flags & 131072), restricted: !!(flags & 262144), min: !!(flags & 1048576), botInlineGeo: !!(flags & 2097152), support: !!(flags & 8388608), scam: !!(flags & 16777216), applyMinPhoto: !!(flags & 33554432), fake: !!(flags & 67108864), botAttachMenu: !!(flags & 134217728), premium: !!(flags & 268435456), attachMenuEnabled: !!(flags & 536870912), botCanEdit: !!(flags2 & 2), closeFriend: !!(flags2 & 4), storiesHidden: !!(flags2 & 8), storiesUnavailable: !!(flags2 & 16), contactRequirePremium: !!(flags2 & 1024), botBusiness: !!(flags2 & 2048), botHasMainApp: !!(flags2 & 8192), botForumView: !!(flags2 & 65536), botForumCanManageTopics: !!(flags2 & 131072), botCanManageBots: !!(flags2 & 262144), botGuestchat: !!(flags2 & 524288), botGuard: !!(flags2 & 1048576), id: r.int53(), accessHash: flags & 1 ? r.long() : void 0, firstName: flags & 2 ? r.string() : void 0, lastName: flags & 4 ? r.string() : void 0, username: flags & 8 ? r.string() : void 0, phone: flags & 16 ? r.string() : void 0, photo: flags & 32 ? r.object() : void 0, status: flags & 64 ? r.object() : void 0, botInfoVersion: flags & 16384 ? r.int() : void 0, restrictionReason: flags & 262144 ? r.vector(r.object) : void 0, botInlinePlaceholder: flags & 524288 ? r.string() : void 0, langCode: flags & 4194304 ? r.string() : void 0, emojiStatus: flags & 1073741824 ? r.object() : void 0, usernames: flags2 & 1 ? r.vector(r.object) : void 0, storiesMaxId: flags2 & 32 ? r.object() : void 0, color: flags2 & 256 ? r.object() : void 0, profileColor: flags2 & 512 ? r.object() : void 0, botActiveUsers: flags2 & 4096 ? r.int() : void 0, botVerificationIcon: flags2 & 16384 ? r.long() : void 0, sendPaidMessagesStars: flags2 & 32768 ? r.long() : void 0 };
386
+ },
387
+ 641563686: function(r) {
388
+ return { _: "pageBlockBlockquote_layer228", text: r.object(), caption: r.object() };
389
+ },
390
+ 3871544610: function(r) {
391
+ var flags = r.uint();
392
+ return { _: "messageActionStarGiftUnique_layer228", upgrade: !!(flags & 1), transferred: !!(flags & 2), saved: !!(flags & 4), refunded: !!(flags & 32), prepaidUpgrade: !!(flags & 2048), assigned: !!(flags & 8192), fromOffer: !!(flags & 16384), craft: !!(flags & 65536), gift: r.object(), canExportAt: flags & 8 ? r.int() : void 0, transferStars: flags & 16 ? r.long() : void 0, fromId: flags & 64 ? r.object() : void 0, peer: flags & 128 ? r.object() : void 0, savedId: flags & 128 ? r.long() : void 0, resaleAmount: flags & 256 ? r.object() : void 0, canTransferAt: flags & 512 ? r.int() : void 0, canResellAt: flags & 1024 ? r.int() : void 0, dropOriginalDetailsStars: flags & 4096 ? r.long() : void 0, canCraftAt: flags & 32768 ? r.int() : void 0 };
393
+ },
394
+ 1218642516: function(r) {
395
+ return { _: "replyInlineMarkup_layer228", rows: r.vector(r.object) };
396
+ },
397
+ 3167006480: function(r) {
398
+ var flags = r.uint();
399
+ return { _: "keyboardButtonCopy_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), copyText: r.string() };
400
+ },
401
+ 45580630: function(r) {
402
+ var flags = r.uint();
403
+ return { _: "inputKeyboardButtonRequestPeer_layer228", nameRequested: !!(flags & 1), usernameRequested: !!(flags & 2), photoRequested: !!(flags & 4), style: flags & 1024 ? r.object() : void 0, text: r.string(), buttonId: r.int(), peerType: r.object(), maxQuantity: r.int() };
404
+ },
405
+ 1527715317: function(r) {
406
+ var flags = r.uint();
407
+ return { _: "keyboardButtonRequestPeer_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), buttonId: r.int(), peerType: r.object(), maxQuantity: r.int() };
408
+ },
409
+ 3780920176: function(r) {
410
+ var flags = r.uint();
411
+ return { _: "keyboardButtonSimpleWebView_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), url: r.string() };
412
+ },
413
+ 3896947104: function(r) {
414
+ var flags = r.uint();
415
+ return { _: "keyboardButtonWebView_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), url: r.string() };
416
+ },
417
+ 3237829897: function(r) {
418
+ var flags = r.uint();
419
+ return { _: "keyboardButtonUserProfile_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), userId: r.int53() };
420
+ },
421
+ 2103314375: function(r) {
422
+ var flags = r.uint();
423
+ return { _: "inputKeyboardButtonUserProfile_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), userId: r.object() };
424
+ },
425
+ 2047989634: function(r) {
426
+ var flags = r.uint();
427
+ return { _: "keyboardButtonRequestPoll_layer228", style: flags & 1024 ? r.object() : void 0, quiz: flags & 1 ? r.boolean() : void 0, text: r.string() };
428
+ },
429
+ 1744911986: function(r) {
430
+ var flags = r.uint();
431
+ return { _: "inputKeyboardButtonUrlAuth_layer228", requestWriteAccess: !!(flags & 1), style: flags & 1024 ? r.object() : void 0, text: r.string(), fwdText: flags & 2 ? r.string() : void 0, url: r.string(), bot: r.object() };
432
+ },
433
+ 4111468281: function(r) {
434
+ var flags = r.uint();
435
+ return { _: "keyboardButtonUrlAuth_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), fwdText: flags & 1 ? r.string() : void 0, url: r.string(), buttonId: r.int() };
436
+ },
437
+ 1067792645: function(r) {
438
+ var flags = r.uint();
439
+ return { _: "keyboardButtonBuy_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
440
+ },
441
+ 2311426297: function(r) {
442
+ var flags = r.uint();
443
+ return { _: "keyboardButtonGame_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
444
+ },
445
+ 2568198652: function(r) {
446
+ var flags = r.uint();
447
+ return { _: "keyboardButtonSwitchInline_layer228", samePeer: !!(flags & 1), style: flags & 1024 ? r.object() : void 0, text: r.string(), query: r.string(), peerTypes: flags & 2 ? r.vector(r.object) : void 0 };
448
+ },
449
+ 2856384845: function(r) {
450
+ var flags = r.uint();
451
+ return { _: "keyboardButtonRequestGeoLocation_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
452
+ },
453
+ 1098841487: function(r) {
454
+ var flags = r.uint();
455
+ return { _: "keyboardButtonRequestPhone_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
456
+ },
457
+ 3861629280: function(r) {
458
+ var flags = r.uint();
459
+ return { _: "keyboardButtonCallback_layer228", requiresPassword: !!(flags & 1), style: flags & 1024 ? r.object() : void 0, text: r.string(), data: r.bytes() };
460
+ },
461
+ 3624674796: function(r) {
462
+ var flags = r.uint();
463
+ return { _: "keyboardButtonUrl_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), url: r.string() };
464
+ },
465
+ 2098662655: function(r) {
466
+ var flags = r.uint();
467
+ return { _: "keyboardButton_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
375
468
  }
376
469
  };
377
470
  const __tlReaderMapCompat = m;
@@ -365,6 +365,99 @@ var m = {
365
365
  2515496747: function(r) {
366
366
  var flags = r.uint(), flags2 = r.uint();
367
367
  return { _: "message_layer225", out: !!(flags & 2), mentioned: !!(flags & 16), mediaUnread: !!(flags & 32), silent: !!(flags & 8192), post: !!(flags & 16384), fromScheduled: !!(flags & 262144), legacy: !!(flags & 524288), editHide: !!(flags & 2097152), pinned: !!(flags & 16777216), noforwards: !!(flags & 67108864), invertMedia: !!(flags & 134217728), offline: !!(flags2 & 2), videoProcessingPending: !!(flags2 & 16), paidSuggestedPostStars: !!(flags2 & 256), paidSuggestedPostTon: !!(flags2 & 512), id: r.int(), fromId: flags & 256 ? r.object() : void 0, fromBoostsApplied: flags & 536870912 ? r.int() : void 0, fromRank: flags2 & 4096 ? r.string() : void 0, peerId: r.object(), savedPeerId: flags & 268435456 ? r.object() : void 0, fwdFrom: flags & 4 ? r.object() : void 0, viaBotId: flags & 2048 ? r.int53() : void 0, viaBusinessBotId: flags2 & 1 ? r.int53() : void 0, guestchatViaFrom: flags2 & 524288 ? r.object() : void 0, replyTo: flags & 8 ? r.object() : void 0, date: r.int(), message: r.string(), media: flags & 512 ? r.object() : void 0, replyMarkup: flags & 64 ? r.object() : void 0, entities: flags & 128 ? r.vector(r.object) : void 0, views: flags & 1024 ? r.int() : void 0, forwards: flags & 1024 ? r.int() : void 0, replies: flags & 8388608 ? r.object() : void 0, editDate: flags & 32768 ? r.int() : void 0, postAuthor: flags & 65536 ? r.string() : void 0, groupedId: flags & 131072 ? r.long() : void 0, reactions: flags & 1048576 ? r.object() : void 0, restrictionReason: flags & 4194304 ? r.vector(r.object) : void 0, ttlPeriod: flags & 33554432 ? r.int() : void 0, quickReplyShortcutId: flags & 1073741824 ? r.int() : void 0, effect: flags2 & 4 ? r.long() : void 0, factcheck: flags2 & 8 ? r.object() : void 0, reportDeliveryUntilDate: flags2 & 32 ? r.int() : void 0, paidMessageStars: flags2 & 64 ? r.long() : void 0, suggestedPost: flags2 & 128 ? r.object() : void 0, scheduleRepeatPeriod: flags2 & 1024 ? r.int() : void 0, summaryFromLanguage: flags2 & 2048 ? r.string() : void 0 };
368
+ },
369
+ 473084188: function(r) {
370
+ var flags = r.uint(), flags2 = r.uint();
371
+ return { _: "channel_layer227", creator: !!(flags & 1), left: !!(flags & 4), broadcast: !!(flags & 32), verified: !!(flags & 128), megagroup: !!(flags & 256), restricted: !!(flags & 512), signatures: !!(flags & 2048), min: !!(flags & 4096), scam: !!(flags & 524288), hasLink: !!(flags & 1048576), hasGeo: !!(flags & 2097152), slowmodeEnabled: !!(flags & 4194304), callActive: !!(flags & 8388608), callNotEmpty: !!(flags & 16777216), fake: !!(flags & 33554432), gigagroup: !!(flags & 67108864), noforwards: !!(flags & 134217728), joinToSend: !!(flags & 268435456), joinRequest: !!(flags & 536870912), forum: !!(flags & 1073741824), storiesHidden: !!(flags2 & 2), storiesHiddenMin: !!(flags2 & 4), storiesUnavailable: !!(flags2 & 8), signatureProfiles: !!(flags2 & 4096), autotranslation: !!(flags2 & 32768), broadcastMessagesAllowed: !!(flags2 & 65536), monoforum: !!(flags2 & 131072), forumTabs: !!(flags2 & 524288), id: r.int53(), accessHash: flags & 8192 ? r.long() : void 0, title: r.string(), username: flags & 64 ? r.string() : void 0, photo: r.object(), date: r.int(), restrictionReason: flags & 512 ? r.vector(r.object) : void 0, adminRights: flags & 16384 ? r.object() : void 0, bannedRights: flags & 32768 ? r.object() : void 0, defaultBannedRights: flags & 262144 ? r.object() : void 0, participantsCount: flags & 131072 ? r.int() : void 0, usernames: flags2 & 1 ? r.vector(r.object) : void 0, storiesMaxId: flags2 & 16 ? r.object() : void 0, color: flags2 & 128 ? r.object() : void 0, profileColor: flags2 & 256 ? r.object() : void 0, emojiStatus: flags2 & 512 ? r.object() : void 0, level: flags2 & 1024 ? r.int() : void 0, subscriptionUntilDate: flags2 & 2048 ? r.int() : void 0, botVerificationIcon: flags2 & 8192 ? r.long() : void 0, sendPaidMessagesStars: flags2 & 16384 ? r.long() : void 0, linkedMonoforumId: flags2 & 262144 ? r.int53() : void 0 };
372
+ },
373
+ 3262826695: function(r) {
374
+ return { _: "botCommand_layer227", command: r.string(), description: r.string() };
375
+ },
376
+ 829899656: function(r) {
377
+ var flags = r.uint(), flags2 = r.uint();
378
+ return { _: "user_layer227", self: !!(flags & 1024), contact: !!(flags & 2048), mutualContact: !!(flags & 4096), deleted: !!(flags & 8192), bot: !!(flags & 16384), botChatHistory: !!(flags & 32768), botNochats: !!(flags & 65536), verified: !!(flags & 131072), restricted: !!(flags & 262144), min: !!(flags & 1048576), botInlineGeo: !!(flags & 2097152), support: !!(flags & 8388608), scam: !!(flags & 16777216), applyMinPhoto: !!(flags & 33554432), fake: !!(flags & 67108864), botAttachMenu: !!(flags & 134217728), premium: !!(flags & 268435456), attachMenuEnabled: !!(flags & 536870912), botCanEdit: !!(flags2 & 2), closeFriend: !!(flags2 & 4), storiesHidden: !!(flags2 & 8), storiesUnavailable: !!(flags2 & 16), contactRequirePremium: !!(flags2 & 1024), botBusiness: !!(flags2 & 2048), botHasMainApp: !!(flags2 & 8192), botForumView: !!(flags2 & 65536), botForumCanManageTopics: !!(flags2 & 131072), botCanManageBots: !!(flags2 & 262144), botGuestchat: !!(flags2 & 524288), botGuard: !!(flags2 & 1048576), id: r.int53(), accessHash: flags & 1 ? r.long() : void 0, firstName: flags & 2 ? r.string() : void 0, lastName: flags & 4 ? r.string() : void 0, username: flags & 8 ? r.string() : void 0, phone: flags & 16 ? r.string() : void 0, photo: flags & 32 ? r.object() : void 0, status: flags & 64 ? r.object() : void 0, botInfoVersion: flags & 16384 ? r.int() : void 0, restrictionReason: flags & 262144 ? r.vector(r.object) : void 0, botInlinePlaceholder: flags & 524288 ? r.string() : void 0, langCode: flags & 4194304 ? r.string() : void 0, emojiStatus: flags & 1073741824 ? r.object() : void 0, usernames: flags2 & 1 ? r.vector(r.object) : void 0, storiesMaxId: flags2 & 32 ? r.object() : void 0, color: flags2 & 256 ? r.object() : void 0, profileColor: flags2 & 512 ? r.object() : void 0, botActiveUsers: flags2 & 4096 ? r.int() : void 0, botVerificationIcon: flags2 & 16384 ? r.long() : void 0, sendPaidMessagesStars: flags2 & 32768 ? r.long() : void 0 };
379
+ },
380
+ 641563686: function(r) {
381
+ return { _: "pageBlockBlockquote_layer228", text: r.object(), caption: r.object() };
382
+ },
383
+ 3871544610: function(r) {
384
+ var flags = r.uint();
385
+ return { _: "messageActionStarGiftUnique_layer228", upgrade: !!(flags & 1), transferred: !!(flags & 2), saved: !!(flags & 4), refunded: !!(flags & 32), prepaidUpgrade: !!(flags & 2048), assigned: !!(flags & 8192), fromOffer: !!(flags & 16384), craft: !!(flags & 65536), gift: r.object(), canExportAt: flags & 8 ? r.int() : void 0, transferStars: flags & 16 ? r.long() : void 0, fromId: flags & 64 ? r.object() : void 0, peer: flags & 128 ? r.object() : void 0, savedId: flags & 128 ? r.long() : void 0, resaleAmount: flags & 256 ? r.object() : void 0, canTransferAt: flags & 512 ? r.int() : void 0, canResellAt: flags & 1024 ? r.int() : void 0, dropOriginalDetailsStars: flags & 4096 ? r.long() : void 0, canCraftAt: flags & 32768 ? r.int() : void 0 };
386
+ },
387
+ 1218642516: function(r) {
388
+ return { _: "replyInlineMarkup_layer228", rows: r.vector(r.object) };
389
+ },
390
+ 3167006480: function(r) {
391
+ var flags = r.uint();
392
+ return { _: "keyboardButtonCopy_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), copyText: r.string() };
393
+ },
394
+ 45580630: function(r) {
395
+ var flags = r.uint();
396
+ return { _: "inputKeyboardButtonRequestPeer_layer228", nameRequested: !!(flags & 1), usernameRequested: !!(flags & 2), photoRequested: !!(flags & 4), style: flags & 1024 ? r.object() : void 0, text: r.string(), buttonId: r.int(), peerType: r.object(), maxQuantity: r.int() };
397
+ },
398
+ 1527715317: function(r) {
399
+ var flags = r.uint();
400
+ return { _: "keyboardButtonRequestPeer_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), buttonId: r.int(), peerType: r.object(), maxQuantity: r.int() };
401
+ },
402
+ 3780920176: function(r) {
403
+ var flags = r.uint();
404
+ return { _: "keyboardButtonSimpleWebView_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), url: r.string() };
405
+ },
406
+ 3896947104: function(r) {
407
+ var flags = r.uint();
408
+ return { _: "keyboardButtonWebView_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), url: r.string() };
409
+ },
410
+ 3237829897: function(r) {
411
+ var flags = r.uint();
412
+ return { _: "keyboardButtonUserProfile_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), userId: r.int53() };
413
+ },
414
+ 2103314375: function(r) {
415
+ var flags = r.uint();
416
+ return { _: "inputKeyboardButtonUserProfile_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), userId: r.object() };
417
+ },
418
+ 2047989634: function(r) {
419
+ var flags = r.uint();
420
+ return { _: "keyboardButtonRequestPoll_layer228", style: flags & 1024 ? r.object() : void 0, quiz: flags & 1 ? r.boolean() : void 0, text: r.string() };
421
+ },
422
+ 1744911986: function(r) {
423
+ var flags = r.uint();
424
+ return { _: "inputKeyboardButtonUrlAuth_layer228", requestWriteAccess: !!(flags & 1), style: flags & 1024 ? r.object() : void 0, text: r.string(), fwdText: flags & 2 ? r.string() : void 0, url: r.string(), bot: r.object() };
425
+ },
426
+ 4111468281: function(r) {
427
+ var flags = r.uint();
428
+ return { _: "keyboardButtonUrlAuth_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), fwdText: flags & 1 ? r.string() : void 0, url: r.string(), buttonId: r.int() };
429
+ },
430
+ 1067792645: function(r) {
431
+ var flags = r.uint();
432
+ return { _: "keyboardButtonBuy_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
433
+ },
434
+ 2311426297: function(r) {
435
+ var flags = r.uint();
436
+ return { _: "keyboardButtonGame_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
437
+ },
438
+ 2568198652: function(r) {
439
+ var flags = r.uint();
440
+ return { _: "keyboardButtonSwitchInline_layer228", samePeer: !!(flags & 1), style: flags & 1024 ? r.object() : void 0, text: r.string(), query: r.string(), peerTypes: flags & 2 ? r.vector(r.object) : void 0 };
441
+ },
442
+ 2856384845: function(r) {
443
+ var flags = r.uint();
444
+ return { _: "keyboardButtonRequestGeoLocation_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
445
+ },
446
+ 1098841487: function(r) {
447
+ var flags = r.uint();
448
+ return { _: "keyboardButtonRequestPhone_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
449
+ },
450
+ 3861629280: function(r) {
451
+ var flags = r.uint();
452
+ return { _: "keyboardButtonCallback_layer228", requiresPassword: !!(flags & 1), style: flags & 1024 ? r.object() : void 0, text: r.string(), data: r.bytes() };
453
+ },
454
+ 3624674796: function(r) {
455
+ var flags = r.uint();
456
+ return { _: "keyboardButtonUrl_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string(), url: r.string() };
457
+ },
458
+ 2098662655: function(r) {
459
+ var flags = r.uint();
460
+ return { _: "keyboardButton_layer228", style: flags & 1024 ? r.object() : void 0, text: r.string() };
368
461
  }
369
462
  };
370
463
  const __tlReaderMapCompat = m;