tdlib-ruby 2.2.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (841) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.gitmodules +0 -3
  4. data/.travis.yml +5 -2
  5. data/bin/build +2 -2
  6. data/lib/tdlib-ruby.rb +3 -3
  7. data/lib/tdlib/client.rb +2 -2
  8. data/lib/tdlib/update_handler.rb +3 -0
  9. data/lib/tdlib/version.rb +1 -1
  10. data/spec/integration/tdlib_spec.rb +1 -1
  11. data/tdlib-ruby.gemspec +1 -3
  12. metadata +17 -875
  13. data/bin/parser +0 -467
  14. data/lib/tdlib/client_methods.rb +0 -4244
  15. data/lib/tdlib/types.rb +0 -1109
  16. data/lib/tdlib/types/account_ttl.rb +0 -10
  17. data/lib/tdlib/types/address.rb +0 -18
  18. data/lib/tdlib/types/animation.rb +0 -23
  19. data/lib/tdlib/types/animations.rb +0 -8
  20. data/lib/tdlib/types/audio.rb +0 -24
  21. data/lib/tdlib/types/authentication_code_info.rb +0 -15
  22. data/lib/tdlib/types/authentication_code_type.rb +0 -13
  23. data/lib/tdlib/types/authentication_code_type/call.rb +0 -8
  24. data/lib/tdlib/types/authentication_code_type/flash_call.rb +0 -9
  25. data/lib/tdlib/types/authentication_code_type/sms.rb +0 -8
  26. data/lib/tdlib/types/authentication_code_type/telegram_message.rb +0 -8
  27. data/lib/tdlib/types/authorization_state.rb +0 -20
  28. data/lib/tdlib/types/authorization_state/closed.rb +0 -9
  29. data/lib/tdlib/types/authorization_state/closing.rb +0 -7
  30. data/lib/tdlib/types/authorization_state/logging_out.rb +0 -5
  31. data/lib/tdlib/types/authorization_state/ready.rb +0 -6
  32. data/lib/tdlib/types/authorization_state/wait_code.rb +0 -8
  33. data/lib/tdlib/types/authorization_state/wait_encryption_key.rb +0 -8
  34. data/lib/tdlib/types/authorization_state/wait_other_device_confirmation.rb +0 -9
  35. data/lib/tdlib/types/authorization_state/wait_password.rb +0 -13
  36. data/lib/tdlib/types/authorization_state/wait_phone_number.rb +0 -7
  37. data/lib/tdlib/types/authorization_state/wait_registration.rb +0 -9
  38. data/lib/tdlib/types/authorization_state/wait_tdlib_parameters.rb +0 -5
  39. data/lib/tdlib/types/auto_download_settings.rb +0 -23
  40. data/lib/tdlib/types/auto_download_settings_presets.rb +0 -15
  41. data/lib/tdlib/types/background.rb +0 -19
  42. data/lib/tdlib/types/background_fill.rb +0 -11
  43. data/lib/tdlib/types/background_fill/gradient.rb +0 -13
  44. data/lib/tdlib/types/background_fill/solid.rb +0 -8
  45. data/lib/tdlib/types/background_type.rb +0 -12
  46. data/lib/tdlib/types/background_type/fill.rb +0 -8
  47. data/lib/tdlib/types/background_type/pattern.rb +0 -13
  48. data/lib/tdlib/types/background_type/wallpaper.rb +0 -11
  49. data/lib/tdlib/types/backgrounds.rb +0 -8
  50. data/lib/tdlib/types/base.rb +0 -29
  51. data/lib/tdlib/types/basic_group.rb +0 -16
  52. data/lib/tdlib/types/basic_group_full_info.rb +0 -15
  53. data/lib/tdlib/types/bot_command.rb +0 -10
  54. data/lib/tdlib/types/bot_info.rb +0 -10
  55. data/lib/tdlib/types/call.rb +0 -14
  56. data/lib/tdlib/types/call_connection.rb +0 -16
  57. data/lib/tdlib/types/call_discard_reason.rb +0 -14
  58. data/lib/tdlib/types/call_discard_reason/declined.rb +0 -6
  59. data/lib/tdlib/types/call_discard_reason/disconnected.rb +0 -5
  60. data/lib/tdlib/types/call_discard_reason/empty.rb +0 -5
  61. data/lib/tdlib/types/call_discard_reason/hung_up.rb +0 -5
  62. data/lib/tdlib/types/call_discard_reason/missed.rb +0 -6
  63. data/lib/tdlib/types/call_id.rb +0 -8
  64. data/lib/tdlib/types/call_problem.rb +0 -16
  65. data/lib/tdlib/types/call_problem/distorted_speech.rb +0 -5
  66. data/lib/tdlib/types/call_problem/dropped.rb +0 -5
  67. data/lib/tdlib/types/call_problem/echo.rb +0 -5
  68. data/lib/tdlib/types/call_problem/interruptions.rb +0 -5
  69. data/lib/tdlib/types/call_problem/noise.rb +0 -5
  70. data/lib/tdlib/types/call_problem/silent_local.rb +0 -5
  71. data/lib/tdlib/types/call_problem/silent_remote.rb +0 -5
  72. data/lib/tdlib/types/call_protocol.rb +0 -14
  73. data/lib/tdlib/types/call_state.rb +0 -15
  74. data/lib/tdlib/types/call_state/discarded.rb +0 -12
  75. data/lib/tdlib/types/call_state/error.rb +0 -9
  76. data/lib/tdlib/types/call_state/exchanging_keys.rb +0 -5
  77. data/lib/tdlib/types/call_state/hanging_up.rb +0 -5
  78. data/lib/tdlib/types/call_state/pending.rb +0 -10
  79. data/lib/tdlib/types/call_state/ready.rb +0 -18
  80. data/lib/tdlib/types/callback_query_answer.rb +0 -12
  81. data/lib/tdlib/types/callback_query_payload.rb +0 -11
  82. data/lib/tdlib/types/callback_query_payload/data.rb +0 -8
  83. data/lib/tdlib/types/callback_query_payload/game.rb +0 -8
  84. data/lib/tdlib/types/can_transfer_ownership_result.rb +0 -13
  85. data/lib/tdlib/types/can_transfer_ownership_result/ok.rb +0 -5
  86. data/lib/tdlib/types/can_transfer_ownership_result/password_needed.rb +0 -5
  87. data/lib/tdlib/types/can_transfer_ownership_result/password_too_fresh.rb +0 -8
  88. data/lib/tdlib/types/can_transfer_ownership_result/session_too_fresh.rb +0 -8
  89. data/lib/tdlib/types/chat.rb +0 -68
  90. data/lib/tdlib/types/chat_action.rb +0 -22
  91. data/lib/tdlib/types/chat_action/cancel.rb +0 -5
  92. data/lib/tdlib/types/chat_action/choosing_contact.rb +0 -5
  93. data/lib/tdlib/types/chat_action/choosing_location.rb +0 -5
  94. data/lib/tdlib/types/chat_action/recording_video.rb +0 -5
  95. data/lib/tdlib/types/chat_action/recording_video_note.rb +0 -5
  96. data/lib/tdlib/types/chat_action/recording_voice_note.rb +0 -5
  97. data/lib/tdlib/types/chat_action/start_playing_game.rb +0 -5
  98. data/lib/tdlib/types/chat_action/typing.rb +0 -5
  99. data/lib/tdlib/types/chat_action/uploading_document.rb +0 -8
  100. data/lib/tdlib/types/chat_action/uploading_photo.rb +0 -8
  101. data/lib/tdlib/types/chat_action/uploading_video.rb +0 -8
  102. data/lib/tdlib/types/chat_action/uploading_video_note.rb +0 -8
  103. data/lib/tdlib/types/chat_action/uploading_voice_note.rb +0 -8
  104. data/lib/tdlib/types/chat_action_bar.rb +0 -14
  105. data/lib/tdlib/types/chat_action_bar/add_contact.rb +0 -6
  106. data/lib/tdlib/types/chat_action_bar/report_add_block.rb +0 -6
  107. data/lib/tdlib/types/chat_action_bar/report_spam.rb +0 -5
  108. data/lib/tdlib/types/chat_action_bar/report_unrelated_location.rb +0 -6
  109. data/lib/tdlib/types/chat_action_bar/share_phone_number.rb +0 -6
  110. data/lib/tdlib/types/chat_administrator.rb +0 -12
  111. data/lib/tdlib/types/chat_administrators.rb +0 -8
  112. data/lib/tdlib/types/chat_event.rb +0 -14
  113. data/lib/tdlib/types/chat_event_action.rb +0 -31
  114. data/lib/tdlib/types/chat_event_action/description_changed.rb +0 -10
  115. data/lib/tdlib/types/chat_event_action/invites_toggled.rb +0 -8
  116. data/lib/tdlib/types/chat_event_action/is_all_history_available_toggled.rb +0 -8
  117. data/lib/tdlib/types/chat_event_action/linked_chat_changed.rb +0 -10
  118. data/lib/tdlib/types/chat_event_action/location_changed.rb +0 -10
  119. data/lib/tdlib/types/chat_event_action/member_invited.rb +0 -10
  120. data/lib/tdlib/types/chat_event_action/member_joined.rb +0 -5
  121. data/lib/tdlib/types/chat_event_action/member_left.rb +0 -5
  122. data/lib/tdlib/types/chat_event_action/member_promoted.rb +0 -12
  123. data/lib/tdlib/types/chat_event_action/member_restricted.rb +0 -12
  124. data/lib/tdlib/types/chat_event_action/message_deleted.rb +0 -8
  125. data/lib/tdlib/types/chat_event_action/message_edited.rb +0 -10
  126. data/lib/tdlib/types/chat_event_action/message_pinned.rb +0 -8
  127. data/lib/tdlib/types/chat_event_action/message_unpinned.rb +0 -5
  128. data/lib/tdlib/types/chat_event_action/permissions_changed.rb +0 -10
  129. data/lib/tdlib/types/chat_event_action/photo_changed.rb +0 -10
  130. data/lib/tdlib/types/chat_event_action/poll_stopped.rb +0 -8
  131. data/lib/tdlib/types/chat_event_action/sign_messages_toggled.rb +0 -8
  132. data/lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb +0 -10
  133. data/lib/tdlib/types/chat_event_action/sticker_set_changed.rb +0 -10
  134. data/lib/tdlib/types/chat_event_action/title_changed.rb +0 -10
  135. data/lib/tdlib/types/chat_event_action/username_changed.rb +0 -10
  136. data/lib/tdlib/types/chat_event_log_filters.rb +0 -27
  137. data/lib/tdlib/types/chat_events.rb +0 -8
  138. data/lib/tdlib/types/chat_invite_link.rb +0 -8
  139. data/lib/tdlib/types/chat_invite_link_info.rb +0 -21
  140. data/lib/tdlib/types/chat_list.rb +0 -11
  141. data/lib/tdlib/types/chat_list/archive.rb +0 -6
  142. data/lib/tdlib/types/chat_list/main.rb +0 -5
  143. data/lib/tdlib/types/chat_location.rb +0 -10
  144. data/lib/tdlib/types/chat_member.rb +0 -18
  145. data/lib/tdlib/types/chat_member_status.rb +0 -15
  146. data/lib/tdlib/types/chat_member_status/administrator.rb +0 -32
  147. data/lib/tdlib/types/chat_member_status/banned.rb +0 -11
  148. data/lib/tdlib/types/chat_member_status/creator.rb +0 -11
  149. data/lib/tdlib/types/chat_member_status/left.rb +0 -5
  150. data/lib/tdlib/types/chat_member_status/member.rb +0 -5
  151. data/lib/tdlib/types/chat_member_status/restricted.rb +0 -16
  152. data/lib/tdlib/types/chat_members.rb +0 -10
  153. data/lib/tdlib/types/chat_members_filter.rb +0 -15
  154. data/lib/tdlib/types/chat_members_filter/administrators.rb +0 -5
  155. data/lib/tdlib/types/chat_members_filter/banned.rb +0 -5
  156. data/lib/tdlib/types/chat_members_filter/bots.rb +0 -5
  157. data/lib/tdlib/types/chat_members_filter/contacts.rb +0 -5
  158. data/lib/tdlib/types/chat_members_filter/members.rb +0 -5
  159. data/lib/tdlib/types/chat_members_filter/restricted.rb +0 -5
  160. data/lib/tdlib/types/chat_nearby.rb +0 -10
  161. data/lib/tdlib/types/chat_notification_settings.rb +0 -34
  162. data/lib/tdlib/types/chat_permissions.rb +0 -28
  163. data/lib/tdlib/types/chat_photo.rb +0 -12
  164. data/lib/tdlib/types/chat_report_reason.rb +0 -16
  165. data/lib/tdlib/types/chat_report_reason/child_abuse.rb +0 -5
  166. data/lib/tdlib/types/chat_report_reason/copyright.rb +0 -5
  167. data/lib/tdlib/types/chat_report_reason/custom.rb +0 -8
  168. data/lib/tdlib/types/chat_report_reason/pornography.rb +0 -5
  169. data/lib/tdlib/types/chat_report_reason/spam.rb +0 -5
  170. data/lib/tdlib/types/chat_report_reason/unrelated_location.rb +0 -5
  171. data/lib/tdlib/types/chat_report_reason/violence.rb +0 -5
  172. data/lib/tdlib/types/chat_type.rb +0 -13
  173. data/lib/tdlib/types/chat_type/basic_group.rb +0 -8
  174. data/lib/tdlib/types/chat_type/private.rb +0 -8
  175. data/lib/tdlib/types/chat_type/secret.rb +0 -10
  176. data/lib/tdlib/types/chat_type/supergroup.rb +0 -11
  177. data/lib/tdlib/types/chats.rb +0 -8
  178. data/lib/tdlib/types/chats_nearby.rb +0 -10
  179. data/lib/tdlib/types/check_chat_username_result.rb +0 -14
  180. data/lib/tdlib/types/check_chat_username_result/ok.rb +0 -5
  181. data/lib/tdlib/types/check_chat_username_result/public_chats_too_much.rb +0 -5
  182. data/lib/tdlib/types/check_chat_username_result/public_groups_unavailable.rb +0 -5
  183. data/lib/tdlib/types/check_chat_username_result/username_invalid.rb +0 -5
  184. data/lib/tdlib/types/check_chat_username_result/username_occupied.rb +0 -5
  185. data/lib/tdlib/types/connected_website.rb +0 -25
  186. data/lib/tdlib/types/connected_websites.rb +0 -8
  187. data/lib/tdlib/types/connection_state.rb +0 -14
  188. data/lib/tdlib/types/connection_state/connecting.rb +0 -5
  189. data/lib/tdlib/types/connection_state/connecting_to_proxy.rb +0 -5
  190. data/lib/tdlib/types/connection_state/ready.rb +0 -5
  191. data/lib/tdlib/types/connection_state/updating.rb +0 -5
  192. data/lib/tdlib/types/connection_state/waiting_for_network.rb +0 -6
  193. data/lib/tdlib/types/contact.rb +0 -16
  194. data/lib/tdlib/types/count.rb +0 -8
  195. data/lib/tdlib/types/custom_request_result.rb +0 -8
  196. data/lib/tdlib/types/database_statistics.rb +0 -8
  197. data/lib/tdlib/types/date.rb +0 -12
  198. data/lib/tdlib/types/dated_file.rb +0 -10
  199. data/lib/tdlib/types/deep_link_info.rb +0 -10
  200. data/lib/tdlib/types/device_token.rb +0 -22
  201. data/lib/tdlib/types/device_token/apple_push.rb +0 -10
  202. data/lib/tdlib/types/device_token/apple_push_vo_ip.rb +0 -12
  203. data/lib/tdlib/types/device_token/black_berry_push.rb +0 -8
  204. data/lib/tdlib/types/device_token/firebase_cloud_messaging.rb +0 -10
  205. data/lib/tdlib/types/device_token/microsoft_push.rb +0 -8
  206. data/lib/tdlib/types/device_token/microsoft_push_vo_ip.rb +0 -8
  207. data/lib/tdlib/types/device_token/simple_push.rb +0 -9
  208. data/lib/tdlib/types/device_token/tizen_push.rb +0 -8
  209. data/lib/tdlib/types/device_token/ubuntu_push.rb +0 -8
  210. data/lib/tdlib/types/device_token/web_push.rb +0 -13
  211. data/lib/tdlib/types/device_token/windows_push.rb +0 -9
  212. data/lib/tdlib/types/document.rb +0 -17
  213. data/lib/tdlib/types/draft_message.rb +0 -11
  214. data/lib/tdlib/types/email_address_authentication_code_info.rb +0 -10
  215. data/lib/tdlib/types/emojis.rb +0 -8
  216. data/lib/tdlib/types/encrypted_credentials.rb +0 -12
  217. data/lib/tdlib/types/encrypted_passport_element.rb +0 -25
  218. data/lib/tdlib/types/error.rb +0 -12
  219. data/lib/tdlib/types/file.rb +0 -18
  220. data/lib/tdlib/types/file_part.rb +0 -8
  221. data/lib/tdlib/types/file_type.rb +0 -25
  222. data/lib/tdlib/types/file_type/animation.rb +0 -5
  223. data/lib/tdlib/types/file_type/audio.rb +0 -5
  224. data/lib/tdlib/types/file_type/document.rb +0 -5
  225. data/lib/tdlib/types/file_type/none.rb +0 -5
  226. data/lib/tdlib/types/file_type/photo.rb +0 -5
  227. data/lib/tdlib/types/file_type/profile_photo.rb +0 -5
  228. data/lib/tdlib/types/file_type/secret.rb +0 -5
  229. data/lib/tdlib/types/file_type/secret_thumbnail.rb +0 -5
  230. data/lib/tdlib/types/file_type/secure.rb +0 -5
  231. data/lib/tdlib/types/file_type/sticker.rb +0 -5
  232. data/lib/tdlib/types/file_type/thumbnail.rb +0 -5
  233. data/lib/tdlib/types/file_type/unknown.rb +0 -5
  234. data/lib/tdlib/types/file_type/video.rb +0 -5
  235. data/lib/tdlib/types/file_type/video_note.rb +0 -5
  236. data/lib/tdlib/types/file_type/voice_note.rb +0 -5
  237. data/lib/tdlib/types/file_type/wallpaper.rb +0 -5
  238. data/lib/tdlib/types/formatted_text.rb +0 -14
  239. data/lib/tdlib/types/found_messages.rb +0 -10
  240. data/lib/tdlib/types/game.rb +0 -21
  241. data/lib/tdlib/types/game_high_score.rb +0 -12
  242. data/lib/tdlib/types/game_high_scores.rb +0 -8
  243. data/lib/tdlib/types/hashtags.rb +0 -8
  244. data/lib/tdlib/types/http_url.rb +0 -8
  245. data/lib/tdlib/types/identity_document.rb +0 -19
  246. data/lib/tdlib/types/imported_contacts.rb +0 -12
  247. data/lib/tdlib/types/inline_keyboard_button.rb +0 -10
  248. data/lib/tdlib/types/inline_keyboard_button_type.rb +0 -15
  249. data/lib/tdlib/types/inline_keyboard_button_type/buy.rb +0 -7
  250. data/lib/tdlib/types/inline_keyboard_button_type/callback.rb +0 -8
  251. data/lib/tdlib/types/inline_keyboard_button_type/callback_game.rb +0 -7
  252. data/lib/tdlib/types/inline_keyboard_button_type/login_url.rb +0 -12
  253. data/lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb +0 -10
  254. data/lib/tdlib/types/inline_keyboard_button_type/url.rb +0 -8
  255. data/lib/tdlib/types/inline_query_result.rb +0 -21
  256. data/lib/tdlib/types/inline_query_result/animation.rb +0 -12
  257. data/lib/tdlib/types/inline_query_result/article.rb +0 -18
  258. data/lib/tdlib/types/inline_query_result/audio.rb +0 -10
  259. data/lib/tdlib/types/inline_query_result/contact.rb +0 -12
  260. data/lib/tdlib/types/inline_query_result/document.rb +0 -14
  261. data/lib/tdlib/types/inline_query_result/game.rb +0 -10
  262. data/lib/tdlib/types/inline_query_result/location.rb +0 -14
  263. data/lib/tdlib/types/inline_query_result/photo.rb +0 -14
  264. data/lib/tdlib/types/inline_query_result/sticker.rb +0 -10
  265. data/lib/tdlib/types/inline_query_result/venue.rb +0 -12
  266. data/lib/tdlib/types/inline_query_result/video.rb +0 -14
  267. data/lib/tdlib/types/inline_query_result/voice_note.rb +0 -12
  268. data/lib/tdlib/types/inline_query_results.rb +0 -19
  269. data/lib/tdlib/types/input_background.rb +0 -11
  270. data/lib/tdlib/types/input_background/local.rb +0 -10
  271. data/lib/tdlib/types/input_background/remote.rb +0 -8
  272. data/lib/tdlib/types/input_credentials.rb +0 -13
  273. data/lib/tdlib/types/input_credentials/android_pay.rb +0 -8
  274. data/lib/tdlib/types/input_credentials/apple_pay.rb +0 -8
  275. data/lib/tdlib/types/input_credentials/new.rb +0 -10
  276. data/lib/tdlib/types/input_credentials/saved.rb +0 -9
  277. data/lib/tdlib/types/input_file.rb +0 -13
  278. data/lib/tdlib/types/input_file/generated.rb +0 -15
  279. data/lib/tdlib/types/input_file/id.rb +0 -8
  280. data/lib/tdlib/types/input_file/local.rb +0 -8
  281. data/lib/tdlib/types/input_file/remote.rb +0 -12
  282. data/lib/tdlib/types/input_identity_document.rb +0 -19
  283. data/lib/tdlib/types/input_inline_query_result.rb +0 -22
  284. data/lib/tdlib/types/input_inline_query_result/animated_gif.rb +0 -27
  285. data/lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb +0 -28
  286. data/lib/tdlib/types/input_inline_query_result/article.rb +0 -29
  287. data/lib/tdlib/types/input_inline_query_result/audio.rb +0 -23
  288. data/lib/tdlib/types/input_inline_query_result/contact.rb +0 -23
  289. data/lib/tdlib/types/input_inline_query_result/document.rb +0 -30
  290. data/lib/tdlib/types/input_inline_query_result/game.rb +0 -13
  291. data/lib/tdlib/types/input_inline_query_result/location.rb +0 -28
  292. data/lib/tdlib/types/input_inline_query_result/photo.rb +0 -27
  293. data/lib/tdlib/types/input_inline_query_result/sticker.rb +0 -23
  294. data/lib/tdlib/types/input_inline_query_result/venue.rb +0 -23
  295. data/lib/tdlib/types/input_inline_query_result/video.rb +0 -32
  296. data/lib/tdlib/types/input_inline_query_result/voice_note.rb +0 -21
  297. data/lib/tdlib/types/input_message_content.rb +0 -25
  298. data/lib/tdlib/types/input_message_content/animation.rb +0 -18
  299. data/lib/tdlib/types/input_message_content/audio.rb +0 -18
  300. data/lib/tdlib/types/input_message_content/contact.rb +0 -8
  301. data/lib/tdlib/types/input_message_content/document.rb +0 -12
  302. data/lib/tdlib/types/input_message_content/forwarded.rb +0 -20
  303. data/lib/tdlib/types/input_message_content/game.rb +0 -10
  304. data/lib/tdlib/types/input_message_content/invoice.rb +0 -28
  305. data/lib/tdlib/types/input_message_content/location.rb +0 -11
  306. data/lib/tdlib/types/input_message_content/photo.rb +0 -22
  307. data/lib/tdlib/types/input_message_content/poll.rb +0 -11
  308. data/lib/tdlib/types/input_message_content/sticker.rb +0 -14
  309. data/lib/tdlib/types/input_message_content/text.rb +0 -15
  310. data/lib/tdlib/types/input_message_content/venue.rb +0 -8
  311. data/lib/tdlib/types/input_message_content/video.rb +0 -25
  312. data/lib/tdlib/types/input_message_content/video_note.rb +0 -14
  313. data/lib/tdlib/types/input_message_content/voice_note.rb +0 -14
  314. data/lib/tdlib/types/input_passport_element.rb +0 -22
  315. data/lib/tdlib/types/input_passport_element/address.rb +0 -8
  316. data/lib/tdlib/types/input_passport_element/bank_statement.rb +0 -8
  317. data/lib/tdlib/types/input_passport_element/driver_license.rb +0 -8
  318. data/lib/tdlib/types/input_passport_element/email_address.rb +0 -8
  319. data/lib/tdlib/types/input_passport_element/identity_card.rb +0 -8
  320. data/lib/tdlib/types/input_passport_element/internal_passport.rb +0 -8
  321. data/lib/tdlib/types/input_passport_element/passport.rb +0 -8
  322. data/lib/tdlib/types/input_passport_element/passport_registration.rb +0 -8
  323. data/lib/tdlib/types/input_passport_element/personal_details.rb +0 -8
  324. data/lib/tdlib/types/input_passport_element/phone_number.rb +0 -8
  325. data/lib/tdlib/types/input_passport_element/rental_agreement.rb +0 -8
  326. data/lib/tdlib/types/input_passport_element/temporary_registration.rb +0 -8
  327. data/lib/tdlib/types/input_passport_element/utility_bill.rb +0 -8
  328. data/lib/tdlib/types/input_passport_element_error.rb +0 -12
  329. data/lib/tdlib/types/input_passport_element_error_source.rb +0 -18
  330. data/lib/tdlib/types/input_passport_element_error_source/data_field.rb +0 -11
  331. data/lib/tdlib/types/input_passport_element_error_source/file.rb +0 -9
  332. data/lib/tdlib/types/input_passport_element_error_source/files.rb +0 -9
  333. data/lib/tdlib/types/input_passport_element_error_source/front_side.rb +0 -9
  334. data/lib/tdlib/types/input_passport_element_error_source/reverse_side.rb +0 -9
  335. data/lib/tdlib/types/input_passport_element_error_source/selfie.rb +0 -9
  336. data/lib/tdlib/types/input_passport_element_error_source/translation_file.rb +0 -9
  337. data/lib/tdlib/types/input_passport_element_error_source/translation_files.rb +0 -9
  338. data/lib/tdlib/types/input_passport_element_error_source/unspecified.rb +0 -9
  339. data/lib/tdlib/types/input_personal_document.rb +0 -11
  340. data/lib/tdlib/types/input_sticker.rb +0 -14
  341. data/lib/tdlib/types/input_thumbnail.rb +0 -16
  342. data/lib/tdlib/types/invoice.rb +0 -27
  343. data/lib/tdlib/types/json_object_member.rb +0 -10
  344. data/lib/tdlib/types/json_value.rb +0 -15
  345. data/lib/tdlib/types/json_value/array.rb +0 -8
  346. data/lib/tdlib/types/json_value/boolean.rb +0 -8
  347. data/lib/tdlib/types/json_value/null.rb +0 -5
  348. data/lib/tdlib/types/json_value/number.rb +0 -8
  349. data/lib/tdlib/types/json_value/object.rb +0 -8
  350. data/lib/tdlib/types/json_value/string.rb +0 -8
  351. data/lib/tdlib/types/keyboard_button.rb +0 -10
  352. data/lib/tdlib/types/keyboard_button_type.rb +0 -12
  353. data/lib/tdlib/types/keyboard_button_type/request_location.rb +0 -5
  354. data/lib/tdlib/types/keyboard_button_type/request_phone_number.rb +0 -5
  355. data/lib/tdlib/types/keyboard_button_type/text.rb +0 -5
  356. data/lib/tdlib/types/labeled_price_part.rb +0 -10
  357. data/lib/tdlib/types/language_pack_info.rb +0 -35
  358. data/lib/tdlib/types/language_pack_string.rb +0 -10
  359. data/lib/tdlib/types/language_pack_string_value.rb +0 -12
  360. data/lib/tdlib/types/language_pack_string_value/deleted.rb +0 -5
  361. data/lib/tdlib/types/language_pack_string_value/ordinary.rb +0 -8
  362. data/lib/tdlib/types/language_pack_string_value/pluralized.rb +0 -19
  363. data/lib/tdlib/types/language_pack_strings.rb +0 -8
  364. data/lib/tdlib/types/local_file.rb +0 -28
  365. data/lib/tdlib/types/localization_target_info.rb +0 -8
  366. data/lib/tdlib/types/location.rb +0 -10
  367. data/lib/tdlib/types/log_stream.rb +0 -12
  368. data/lib/tdlib/types/log_stream/default.rb +0 -5
  369. data/lib/tdlib/types/log_stream/empty.rb +0 -5
  370. data/lib/tdlib/types/log_stream/file.rb +0 -11
  371. data/lib/tdlib/types/log_tags.rb +0 -8
  372. data/lib/tdlib/types/log_verbosity_level.rb +0 -8
  373. data/lib/tdlib/types/login_url_info.rb +0 -11
  374. data/lib/tdlib/types/login_url_info/open.rb +0 -10
  375. data/lib/tdlib/types/login_url_info/request_confirmation.rb +0 -15
  376. data/lib/tdlib/types/mask_point.rb +0 -13
  377. data/lib/tdlib/types/mask_point/chin.rb +0 -5
  378. data/lib/tdlib/types/mask_point/eyes.rb +0 -5
  379. data/lib/tdlib/types/mask_point/forehead.rb +0 -5
  380. data/lib/tdlib/types/mask_point/mouth.rb +0 -5
  381. data/lib/tdlib/types/mask_position.rb +0 -17
  382. data/lib/tdlib/types/message.rb +0 -67
  383. data/lib/tdlib/types/message_content.rb +0 -49
  384. data/lib/tdlib/types/message_content/animation.rb +0 -13
  385. data/lib/tdlib/types/message_content/audio.rb +0 -10
  386. data/lib/tdlib/types/message_content/basic_group_chat_create.rb +0 -10
  387. data/lib/tdlib/types/message_content/call.rb +0 -10
  388. data/lib/tdlib/types/message_content/chat_add_members.rb +0 -8
  389. data/lib/tdlib/types/message_content/chat_change_photo.rb +0 -8
  390. data/lib/tdlib/types/message_content/chat_change_title.rb +0 -8
  391. data/lib/tdlib/types/message_content/chat_delete_member.rb +0 -8
  392. data/lib/tdlib/types/message_content/chat_delete_photo.rb +0 -5
  393. data/lib/tdlib/types/message_content/chat_join_by_link.rb +0 -5
  394. data/lib/tdlib/types/message_content/chat_set_ttl.rb +0 -8
  395. data/lib/tdlib/types/message_content/chat_upgrade_from.rb +0 -10
  396. data/lib/tdlib/types/message_content/chat_upgrade_to.rb +0 -8
  397. data/lib/tdlib/types/message_content/contact.rb +0 -8
  398. data/lib/tdlib/types/message_content/contact_registered.rb +0 -5
  399. data/lib/tdlib/types/message_content/custom_service_action.rb +0 -8
  400. data/lib/tdlib/types/message_content/document.rb +0 -10
  401. data/lib/tdlib/types/message_content/expired_photo.rb +0 -5
  402. data/lib/tdlib/types/message_content/expired_video.rb +0 -5
  403. data/lib/tdlib/types/message_content/game.rb +0 -8
  404. data/lib/tdlib/types/message_content/game_score.rb +0 -13
  405. data/lib/tdlib/types/message_content/invoice.rb +0 -26
  406. data/lib/tdlib/types/message_content/location.rb +0 -14
  407. data/lib/tdlib/types/message_content/passport_data_received.rb +0 -10
  408. data/lib/tdlib/types/message_content/passport_data_sent.rb +0 -8
  409. data/lib/tdlib/types/message_content/payment_successful.rb +0 -13
  410. data/lib/tdlib/types/message_content/payment_successful_bot.rb +0 -24
  411. data/lib/tdlib/types/message_content/photo.rb +0 -12
  412. data/lib/tdlib/types/message_content/pin_message.rb +0 -8
  413. data/lib/tdlib/types/message_content/poll.rb +0 -8
  414. data/lib/tdlib/types/message_content/screenshot_taken.rb +0 -5
  415. data/lib/tdlib/types/message_content/sticker.rb +0 -8
  416. data/lib/tdlib/types/message_content/supergroup_chat_create.rb +0 -8
  417. data/lib/tdlib/types/message_content/text.rb +0 -10
  418. data/lib/tdlib/types/message_content/unsupported.rb +0 -5
  419. data/lib/tdlib/types/message_content/venue.rb +0 -8
  420. data/lib/tdlib/types/message_content/video.rb +0 -13
  421. data/lib/tdlib/types/message_content/video_note.rb +0 -13
  422. data/lib/tdlib/types/message_content/voice_note.rb +0 -12
  423. data/lib/tdlib/types/message_content/website_connected.rb +0 -8
  424. data/lib/tdlib/types/message_forward_info.rb +0 -17
  425. data/lib/tdlib/types/message_forward_origin.rb +0 -12
  426. data/lib/tdlib/types/message_forward_origin/channel.rb +0 -12
  427. data/lib/tdlib/types/message_forward_origin/hidden_user.rb +0 -8
  428. data/lib/tdlib/types/message_forward_origin/user.rb +0 -8
  429. data/lib/tdlib/types/message_link_info.rb +0 -14
  430. data/lib/tdlib/types/message_scheduling_state.rb +0 -11
  431. data/lib/tdlib/types/message_scheduling_state/send_at_date.rb +0 -9
  432. data/lib/tdlib/types/message_scheduling_state/send_when_online.rb +0 -6
  433. data/lib/tdlib/types/message_sending_state.rb +0 -11
  434. data/lib/tdlib/types/message_sending_state/failed.rb +0 -15
  435. data/lib/tdlib/types/message_sending_state/pending.rb +0 -5
  436. data/lib/tdlib/types/messages.rb +0 -10
  437. data/lib/tdlib/types/minithumbnail.rb +0 -12
  438. data/lib/tdlib/types/network_statistics.rb +0 -10
  439. data/lib/tdlib/types/network_statistics_entry.rb +0 -11
  440. data/lib/tdlib/types/network_statistics_entry/call.rb +0 -15
  441. data/lib/tdlib/types/network_statistics_entry/file.rb +0 -15
  442. data/lib/tdlib/types/network_type.rb +0 -14
  443. data/lib/tdlib/types/network_type/mobile.rb +0 -5
  444. data/lib/tdlib/types/network_type/mobile_roaming.rb +0 -5
  445. data/lib/tdlib/types/network_type/none.rb +0 -5
  446. data/lib/tdlib/types/network_type/other.rb +0 -5
  447. data/lib/tdlib/types/network_type/wi_fi.rb +0 -5
  448. data/lib/tdlib/types/notification.rb +0 -14
  449. data/lib/tdlib/types/notification_group.rb +0 -16
  450. data/lib/tdlib/types/notification_group_type.rb +0 -13
  451. data/lib/tdlib/types/notification_group_type/calls.rb +0 -5
  452. data/lib/tdlib/types/notification_group_type/mentions.rb +0 -6
  453. data/lib/tdlib/types/notification_group_type/messages.rb +0 -6
  454. data/lib/tdlib/types/notification_group_type/secret_chat.rb +0 -5
  455. data/lib/tdlib/types/notification_settings_scope.rb +0 -12
  456. data/lib/tdlib/types/notification_settings_scope/channel_chats.rb +0 -5
  457. data/lib/tdlib/types/notification_settings_scope/group_chats.rb +0 -6
  458. data/lib/tdlib/types/notification_settings_scope/private_chats.rb +0 -6
  459. data/lib/tdlib/types/notification_type.rb +0 -13
  460. data/lib/tdlib/types/notification_type/new_call.rb +0 -8
  461. data/lib/tdlib/types/notification_type/new_message.rb +0 -8
  462. data/lib/tdlib/types/notification_type/new_push_message.rb +0 -15
  463. data/lib/tdlib/types/notification_type/new_secret_chat.rb +0 -5
  464. data/lib/tdlib/types/ok.rb +0 -5
  465. data/lib/tdlib/types/option_value.rb +0 -13
  466. data/lib/tdlib/types/option_value/boolean.rb +0 -8
  467. data/lib/tdlib/types/option_value/empty.rb +0 -5
  468. data/lib/tdlib/types/option_value/integer.rb +0 -8
  469. data/lib/tdlib/types/option_value/string.rb +0 -8
  470. data/lib/tdlib/types/order_info.rb +0 -14
  471. data/lib/tdlib/types/page_block.rb +0 -38
  472. data/lib/tdlib/types/page_block/anchor.rb +0 -8
  473. data/lib/tdlib/types/page_block/animation.rb +0 -12
  474. data/lib/tdlib/types/page_block/audio.rb +0 -10
  475. data/lib/tdlib/types/page_block/author_date.rb +0 -10
  476. data/lib/tdlib/types/page_block/block_quote.rb +0 -10
  477. data/lib/tdlib/types/page_block/chat_link.rb +0 -12
  478. data/lib/tdlib/types/page_block/collage.rb +0 -10
  479. data/lib/tdlib/types/page_block/cover.rb +0 -8
  480. data/lib/tdlib/types/page_block/details.rb +0 -12
  481. data/lib/tdlib/types/page_block/divider.rb +0 -5
  482. data/lib/tdlib/types/page_block/embedded.rb +0 -22
  483. data/lib/tdlib/types/page_block/embedded_post.rb +0 -18
  484. data/lib/tdlib/types/page_block/footer.rb +0 -8
  485. data/lib/tdlib/types/page_block/header.rb +0 -8
  486. data/lib/tdlib/types/page_block/kicker.rb +0 -8
  487. data/lib/tdlib/types/page_block/list.rb +0 -8
  488. data/lib/tdlib/types/page_block/map.rb +0 -16
  489. data/lib/tdlib/types/page_block/paragraph.rb +0 -8
  490. data/lib/tdlib/types/page_block/photo.rb +0 -12
  491. data/lib/tdlib/types/page_block/preformatted.rb +0 -10
  492. data/lib/tdlib/types/page_block/pull_quote.rb +0 -10
  493. data/lib/tdlib/types/page_block/related_articles.rb +0 -10
  494. data/lib/tdlib/types/page_block/slideshow.rb +0 -10
  495. data/lib/tdlib/types/page_block/subheader.rb +0 -8
  496. data/lib/tdlib/types/page_block/subtitle.rb +0 -8
  497. data/lib/tdlib/types/page_block/table.rb +0 -14
  498. data/lib/tdlib/types/page_block/title.rb +0 -8
  499. data/lib/tdlib/types/page_block/video.rb +0 -14
  500. data/lib/tdlib/types/page_block/voice_note.rb +0 -10
  501. data/lib/tdlib/types/page_block_caption.rb +0 -10
  502. data/lib/tdlib/types/page_block_horizontal_alignment.rb +0 -12
  503. data/lib/tdlib/types/page_block_horizontal_alignment/center.rb +0 -5
  504. data/lib/tdlib/types/page_block_horizontal_alignment/left.rb +0 -5
  505. data/lib/tdlib/types/page_block_horizontal_alignment/right.rb +0 -5
  506. data/lib/tdlib/types/page_block_list_item.rb +0 -10
  507. data/lib/tdlib/types/page_block_related_article.rb +0 -18
  508. data/lib/tdlib/types/page_block_table_cell.rb +0 -19
  509. data/lib/tdlib/types/page_block_vertical_alignment.rb +0 -12
  510. data/lib/tdlib/types/page_block_vertical_alignment/bottom.rb +0 -5
  511. data/lib/tdlib/types/page_block_vertical_alignment/middle.rb +0 -5
  512. data/lib/tdlib/types/page_block_vertical_alignment/top.rb +0 -5
  513. data/lib/tdlib/types/passport_authorization_form.rb +0 -13
  514. data/lib/tdlib/types/passport_element.rb +0 -22
  515. data/lib/tdlib/types/passport_element/address.rb +0 -8
  516. data/lib/tdlib/types/passport_element/bank_statement.rb +0 -8
  517. data/lib/tdlib/types/passport_element/driver_license.rb +0 -8
  518. data/lib/tdlib/types/passport_element/email_address.rb +0 -8
  519. data/lib/tdlib/types/passport_element/identity_card.rb +0 -8
  520. data/lib/tdlib/types/passport_element/internal_passport.rb +0 -8
  521. data/lib/tdlib/types/passport_element/passport.rb +0 -8
  522. data/lib/tdlib/types/passport_element/passport_registration.rb +0 -8
  523. data/lib/tdlib/types/passport_element/personal_details.rb +0 -8
  524. data/lib/tdlib/types/passport_element/phone_number.rb +0 -8
  525. data/lib/tdlib/types/passport_element/rental_agreement.rb +0 -8
  526. data/lib/tdlib/types/passport_element/temporary_registration.rb +0 -8
  527. data/lib/tdlib/types/passport_element/utility_bill.rb +0 -8
  528. data/lib/tdlib/types/passport_element_error.rb +0 -12
  529. data/lib/tdlib/types/passport_element_error_source.rb +0 -18
  530. data/lib/tdlib/types/passport_element_error_source/data_field.rb +0 -9
  531. data/lib/tdlib/types/passport_element_error_source/file.rb +0 -9
  532. data/lib/tdlib/types/passport_element_error_source/files.rb +0 -6
  533. data/lib/tdlib/types/passport_element_error_source/front_side.rb +0 -6
  534. data/lib/tdlib/types/passport_element_error_source/reverse_side.rb +0 -6
  535. data/lib/tdlib/types/passport_element_error_source/selfie.rb +0 -6
  536. data/lib/tdlib/types/passport_element_error_source/translation_file.rb +0 -9
  537. data/lib/tdlib/types/passport_element_error_source/translation_files.rb +0 -6
  538. data/lib/tdlib/types/passport_element_error_source/unspecified.rb +0 -6
  539. data/lib/tdlib/types/passport_element_type.rb +0 -22
  540. data/lib/tdlib/types/passport_element_type/address.rb +0 -5
  541. data/lib/tdlib/types/passport_element_type/bank_statement.rb +0 -5
  542. data/lib/tdlib/types/passport_element_type/driver_license.rb +0 -5
  543. data/lib/tdlib/types/passport_element_type/email_address.rb +0 -5
  544. data/lib/tdlib/types/passport_element_type/identity_card.rb +0 -5
  545. data/lib/tdlib/types/passport_element_type/internal_passport.rb +0 -5
  546. data/lib/tdlib/types/passport_element_type/passport.rb +0 -5
  547. data/lib/tdlib/types/passport_element_type/passport_registration.rb +0 -5
  548. data/lib/tdlib/types/passport_element_type/personal_details.rb +0 -5
  549. data/lib/tdlib/types/passport_element_type/phone_number.rb +0 -5
  550. data/lib/tdlib/types/passport_element_type/rental_agreement.rb +0 -5
  551. data/lib/tdlib/types/passport_element_type/temporary_registration.rb +0 -5
  552. data/lib/tdlib/types/passport_element_type/utility_bill.rb +0 -5
  553. data/lib/tdlib/types/passport_elements.rb +0 -8
  554. data/lib/tdlib/types/passport_elements_with_errors.rb +0 -10
  555. data/lib/tdlib/types/passport_required_element.rb +0 -9
  556. data/lib/tdlib/types/passport_suitable_element.rb +0 -15
  557. data/lib/tdlib/types/password_state.rb +0 -17
  558. data/lib/tdlib/types/payment_form.rb +0 -23
  559. data/lib/tdlib/types/payment_receipt.rb +0 -18
  560. data/lib/tdlib/types/payment_result.rb +0 -11
  561. data/lib/tdlib/types/payments_provider_stripe.rb +0 -14
  562. data/lib/tdlib/types/personal_details.rb +0 -26
  563. data/lib/tdlib/types/personal_document.rb +0 -11
  564. data/lib/tdlib/types/phone_number_authentication_settings.rb +0 -16
  565. data/lib/tdlib/types/photo.rb +0 -12
  566. data/lib/tdlib/types/photo_size.rb +0 -14
  567. data/lib/tdlib/types/poll.rb +0 -16
  568. data/lib/tdlib/types/poll_option.rb +0 -16
  569. data/lib/tdlib/types/profile_photo.rb +0 -15
  570. data/lib/tdlib/types/proxies.rb +0 -8
  571. data/lib/tdlib/types/proxy.rb +0 -18
  572. data/lib/tdlib/types/proxy_type.rb +0 -12
  573. data/lib/tdlib/types/proxy_type/http.rb +0 -13
  574. data/lib/tdlib/types/proxy_type/mtproto.rb +0 -8
  575. data/lib/tdlib/types/proxy_type/socks5.rb +0 -10
  576. data/lib/tdlib/types/public_chat_type.rb +0 -11
  577. data/lib/tdlib/types/public_chat_type/has_username.rb +0 -5
  578. data/lib/tdlib/types/public_chat_type/is_location_based.rb +0 -5
  579. data/lib/tdlib/types/public_message_link.rb +0 -10
  580. data/lib/tdlib/types/push_message_content.rb +0 -35
  581. data/lib/tdlib/types/push_message_content/animation.rb +0 -12
  582. data/lib/tdlib/types/push_message_content/audio.rb +0 -10
  583. data/lib/tdlib/types/push_message_content/basic_group_chat_create.rb +0 -5
  584. data/lib/tdlib/types/push_message_content/chat_add_members.rb +0 -12
  585. data/lib/tdlib/types/push_message_content/chat_change_photo.rb +0 -5
  586. data/lib/tdlib/types/push_message_content/chat_change_title.rb +0 -8
  587. data/lib/tdlib/types/push_message_content/chat_delete_member.rb +0 -12
  588. data/lib/tdlib/types/push_message_content/chat_join_by_link.rb +0 -5
  589. data/lib/tdlib/types/push_message_content/contact.rb +0 -10
  590. data/lib/tdlib/types/push_message_content/contact_registered.rb +0 -5
  591. data/lib/tdlib/types/push_message_content/document.rb +0 -10
  592. data/lib/tdlib/types/push_message_content/game.rb +0 -10
  593. data/lib/tdlib/types/push_message_content/game_score.rb +0 -12
  594. data/lib/tdlib/types/push_message_content/hidden.rb +0 -8
  595. data/lib/tdlib/types/push_message_content/invoice.rb +0 -10
  596. data/lib/tdlib/types/push_message_content/location.rb +0 -10
  597. data/lib/tdlib/types/push_message_content/media_album.rb +0 -12
  598. data/lib/tdlib/types/push_message_content/message_forwards.rb +0 -8
  599. data/lib/tdlib/types/push_message_content/photo.rb +0 -14
  600. data/lib/tdlib/types/push_message_content/poll.rb +0 -10
  601. data/lib/tdlib/types/push_message_content/screenshot_taken.rb +0 -5
  602. data/lib/tdlib/types/push_message_content/sticker.rb +0 -12
  603. data/lib/tdlib/types/push_message_content/text.rb +0 -10
  604. data/lib/tdlib/types/push_message_content/video.rb +0 -14
  605. data/lib/tdlib/types/push_message_content/video_note.rb +0 -10
  606. data/lib/tdlib/types/push_message_content/voice_note.rb +0 -10
  607. data/lib/tdlib/types/push_receiver_id.rb +0 -9
  608. data/lib/tdlib/types/recovery_email_address.rb +0 -8
  609. data/lib/tdlib/types/remote_file.rb +0 -27
  610. data/lib/tdlib/types/reply_markup.rb +0 -13
  611. data/lib/tdlib/types/reply_markup/force_reply.rb +0 -10
  612. data/lib/tdlib/types/reply_markup/inline_keyboard.rb +0 -8
  613. data/lib/tdlib/types/reply_markup/remove_keyboard.rb +0 -11
  614. data/lib/tdlib/types/reply_markup/show_keyboard.rb +0 -16
  615. data/lib/tdlib/types/rich_text.rb +0 -24
  616. data/lib/tdlib/types/rich_text/anchor.rb +0 -10
  617. data/lib/tdlib/types/rich_text/bold.rb +0 -8
  618. data/lib/tdlib/types/rich_text/email_address.rb +0 -10
  619. data/lib/tdlib/types/rich_text/fixed.rb +0 -8
  620. data/lib/tdlib/types/rich_text/icon.rb +0 -13
  621. data/lib/tdlib/types/rich_text/italic.rb +0 -8
  622. data/lib/tdlib/types/rich_text/marked.rb +0 -8
  623. data/lib/tdlib/types/rich_text/phone_number.rb +0 -10
  624. data/lib/tdlib/types/rich_text/plain.rb +0 -8
  625. data/lib/tdlib/types/rich_text/s.rb +0 -8
  626. data/lib/tdlib/types/rich_text/strikethrough.rb +0 -8
  627. data/lib/tdlib/types/rich_text/subscript.rb +0 -8
  628. data/lib/tdlib/types/rich_text/superscript.rb +0 -8
  629. data/lib/tdlib/types/rich_text/underline.rb +0 -8
  630. data/lib/tdlib/types/rich_text/url.rb +0 -12
  631. data/lib/tdlib/types/saved_credentials.rb +0 -10
  632. data/lib/tdlib/types/scope_notification_settings.rb +0 -19
  633. data/lib/tdlib/types/search_messages_filter.rb +0 -25
  634. data/lib/tdlib/types/search_messages_filter/animation.rb +0 -5
  635. data/lib/tdlib/types/search_messages_filter/audio.rb +0 -5
  636. data/lib/tdlib/types/search_messages_filter/call.rb +0 -5
  637. data/lib/tdlib/types/search_messages_filter/chat_photo.rb +0 -5
  638. data/lib/tdlib/types/search_messages_filter/document.rb +0 -5
  639. data/lib/tdlib/types/search_messages_filter/empty.rb +0 -5
  640. data/lib/tdlib/types/search_messages_filter/mention.rb +0 -5
  641. data/lib/tdlib/types/search_messages_filter/missed_call.rb +0 -5
  642. data/lib/tdlib/types/search_messages_filter/photo.rb +0 -5
  643. data/lib/tdlib/types/search_messages_filter/photo_and_video.rb +0 -5
  644. data/lib/tdlib/types/search_messages_filter/unread_mention.rb +0 -6
  645. data/lib/tdlib/types/search_messages_filter/url.rb +0 -5
  646. data/lib/tdlib/types/search_messages_filter/video.rb +0 -5
  647. data/lib/tdlib/types/search_messages_filter/video_note.rb +0 -5
  648. data/lib/tdlib/types/search_messages_filter/voice_and_video_note.rb +0 -5
  649. data/lib/tdlib/types/search_messages_filter/voice_note.rb +0 -5
  650. data/lib/tdlib/types/seconds.rb +0 -8
  651. data/lib/tdlib/types/secret_chat.rb +0 -27
  652. data/lib/tdlib/types/secret_chat_state.rb +0 -12
  653. data/lib/tdlib/types/secret_chat_state/closed.rb +0 -5
  654. data/lib/tdlib/types/secret_chat_state/pending.rb +0 -5
  655. data/lib/tdlib/types/secret_chat_state/ready.rb +0 -5
  656. data/lib/tdlib/types/send_message_options.rb +0 -14
  657. data/lib/tdlib/types/session.rb +0 -42
  658. data/lib/tdlib/types/sessions.rb +0 -8
  659. data/lib/tdlib/types/shipping_option.rb +0 -13
  660. data/lib/tdlib/types/sticker.rb +0 -24
  661. data/lib/tdlib/types/sticker_set.rb +0 -35
  662. data/lib/tdlib/types/sticker_set_info.rb +0 -34
  663. data/lib/tdlib/types/sticker_sets.rb +0 -10
  664. data/lib/tdlib/types/stickers.rb +0 -8
  665. data/lib/tdlib/types/storage_statistics.rb +0 -12
  666. data/lib/tdlib/types/storage_statistics_by_chat.rb +0 -14
  667. data/lib/tdlib/types/storage_statistics_by_file_type.rb +0 -12
  668. data/lib/tdlib/types/storage_statistics_fast.rb +0 -16
  669. data/lib/tdlib/types/supergroup.rb +0 -43
  670. data/lib/tdlib/types/supergroup_full_info.rb +0 -53
  671. data/lib/tdlib/types/supergroup_members_filter.rb +0 -16
  672. data/lib/tdlib/types/supergroup_members_filter/administrators.rb +0 -5
  673. data/lib/tdlib/types/supergroup_members_filter/banned.rb +0 -8
  674. data/lib/tdlib/types/supergroup_members_filter/bots.rb +0 -5
  675. data/lib/tdlib/types/supergroup_members_filter/contacts.rb +0 -8
  676. data/lib/tdlib/types/supergroup_members_filter/recent.rb +0 -5
  677. data/lib/tdlib/types/supergroup_members_filter/restricted.rb +0 -8
  678. data/lib/tdlib/types/supergroup_members_filter/search.rb +0 -8
  679. data/lib/tdlib/types/t_me_url.rb +0 -10
  680. data/lib/tdlib/types/t_me_url_type.rb +0 -13
  681. data/lib/tdlib/types/t_me_url_type/chat_invite.rb +0 -8
  682. data/lib/tdlib/types/t_me_url_type/sticker_set.rb +0 -8
  683. data/lib/tdlib/types/t_me_url_type/supergroup.rb +0 -8
  684. data/lib/tdlib/types/t_me_url_type/user.rb +0 -8
  685. data/lib/tdlib/types/t_me_urls.rb +0 -8
  686. data/lib/tdlib/types/tdlib_parameters.rb +0 -46
  687. data/lib/tdlib/types/temporary_password_state.rb +0 -10
  688. data/lib/tdlib/types/terms_of_service.rb +0 -12
  689. data/lib/tdlib/types/text.rb +0 -8
  690. data/lib/tdlib/types/text_entities.rb +0 -8
  691. data/lib/tdlib/types/text_entity.rb +0 -12
  692. data/lib/tdlib/types/text_entity_type.rb +0 -25
  693. data/lib/tdlib/types/text_entity_type/bold.rb +0 -5
  694. data/lib/tdlib/types/text_entity_type/bot_command.rb +0 -6
  695. data/lib/tdlib/types/text_entity_type/cashtag.rb +0 -6
  696. data/lib/tdlib/types/text_entity_type/code.rb +0 -5
  697. data/lib/tdlib/types/text_entity_type/email_address.rb +0 -5
  698. data/lib/tdlib/types/text_entity_type/hashtag.rb +0 -5
  699. data/lib/tdlib/types/text_entity_type/italic.rb +0 -5
  700. data/lib/tdlib/types/text_entity_type/mention.rb +0 -5
  701. data/lib/tdlib/types/text_entity_type/mention_name.rb +0 -8
  702. data/lib/tdlib/types/text_entity_type/phone_number.rb +0 -5
  703. data/lib/tdlib/types/text_entity_type/pre.rb +0 -5
  704. data/lib/tdlib/types/text_entity_type/pre_code.rb +0 -8
  705. data/lib/tdlib/types/text_entity_type/strikethrough.rb +0 -5
  706. data/lib/tdlib/types/text_entity_type/text_url.rb +0 -8
  707. data/lib/tdlib/types/text_entity_type/underline.rb +0 -5
  708. data/lib/tdlib/types/text_entity_type/url.rb +0 -5
  709. data/lib/tdlib/types/text_parse_mode.rb +0 -11
  710. data/lib/tdlib/types/text_parse_mode/html.rb +0 -5
  711. data/lib/tdlib/types/text_parse_mode/markdown.rb +0 -9
  712. data/lib/tdlib/types/ton_lite_server_response.rb +0 -8
  713. data/lib/tdlib/types/ton_wallet_password_salt.rb +0 -8
  714. data/lib/tdlib/types/top_chat_category.rb +0 -16
  715. data/lib/tdlib/types/top_chat_category/bots.rb +0 -5
  716. data/lib/tdlib/types/top_chat_category/calls.rb +0 -5
  717. data/lib/tdlib/types/top_chat_category/channels.rb +0 -5
  718. data/lib/tdlib/types/top_chat_category/forward_chats.rb +0 -5
  719. data/lib/tdlib/types/top_chat_category/groups.rb +0 -5
  720. data/lib/tdlib/types/top_chat_category/inline_bots.rb +0 -5
  721. data/lib/tdlib/types/top_chat_category/users.rb +0 -5
  722. data/lib/tdlib/types/update.rb +0 -84
  723. data/lib/tdlib/types/update/active_notifications.rb +0 -10
  724. data/lib/tdlib/types/update/authorization_state.rb +0 -8
  725. data/lib/tdlib/types/update/basic_group.rb +0 -9
  726. data/lib/tdlib/types/update/basic_group_full_info.rb +0 -10
  727. data/lib/tdlib/types/update/call.rb +0 -8
  728. data/lib/tdlib/types/update/chat_action_bar.rb +0 -10
  729. data/lib/tdlib/types/update/chat_chat_list.rb +0 -11
  730. data/lib/tdlib/types/update/chat_default_disable_notification.rb +0 -10
  731. data/lib/tdlib/types/update/chat_draft_message.rb +0 -14
  732. data/lib/tdlib/types/update/chat_has_scheduled_messages.rb +0 -10
  733. data/lib/tdlib/types/update/chat_is_marked_as_unread.rb +0 -10
  734. data/lib/tdlib/types/update/chat_is_pinned.rb +0 -12
  735. data/lib/tdlib/types/update/chat_is_sponsored.rb +0 -12
  736. data/lib/tdlib/types/update/chat_last_message.rb +0 -14
  737. data/lib/tdlib/types/update/chat_notification_settings.rb +0 -10
  738. data/lib/tdlib/types/update/chat_online_member_count.rb +0 -12
  739. data/lib/tdlib/types/update/chat_order.rb +0 -12
  740. data/lib/tdlib/types/update/chat_permissions.rb +0 -10
  741. data/lib/tdlib/types/update/chat_photo.rb +0 -10
  742. data/lib/tdlib/types/update/chat_pinned_message.rb +0 -11
  743. data/lib/tdlib/types/update/chat_read_inbox.rb +0 -12
  744. data/lib/tdlib/types/update/chat_read_outbox.rb +0 -10
  745. data/lib/tdlib/types/update/chat_reply_markup.rb +0 -13
  746. data/lib/tdlib/types/update/chat_title.rb +0 -10
  747. data/lib/tdlib/types/update/chat_unread_mention_count.rb +0 -10
  748. data/lib/tdlib/types/update/connection_state.rb +0 -8
  749. data/lib/tdlib/types/update/delete_messages.rb +0 -16
  750. data/lib/tdlib/types/update/favorite_stickers.rb +0 -8
  751. data/lib/tdlib/types/update/file.rb +0 -8
  752. data/lib/tdlib/types/update/file_generation_start.rb +0 -17
  753. data/lib/tdlib/types/update/file_generation_stop.rb +0 -8
  754. data/lib/tdlib/types/update/have_pending_notifications.rb +0 -13
  755. data/lib/tdlib/types/update/installed_sticker_sets.rb +0 -10
  756. data/lib/tdlib/types/update/language_pack_strings.rb +0 -12
  757. data/lib/tdlib/types/update/message_content.rb +0 -12
  758. data/lib/tdlib/types/update/message_content_opened.rb +0 -12
  759. data/lib/tdlib/types/update/message_edited.rb +0 -15
  760. data/lib/tdlib/types/update/message_live_location_viewed.rb +0 -11
  761. data/lib/tdlib/types/update/message_mention_read.rb +0 -12
  762. data/lib/tdlib/types/update/message_send_acknowledged.rb +0 -14
  763. data/lib/tdlib/types/update/message_send_failed.rb +0 -16
  764. data/lib/tdlib/types/update/message_send_succeeded.rb +0 -11
  765. data/lib/tdlib/types/update/message_views.rb +0 -12
  766. data/lib/tdlib/types/update/new_callback_query.rb +0 -18
  767. data/lib/tdlib/types/update/new_chat.rb +0 -10
  768. data/lib/tdlib/types/update/new_chosen_inline_result.rb +0 -16
  769. data/lib/tdlib/types/update/new_custom_event.rb +0 -8
  770. data/lib/tdlib/types/update/new_custom_query.rb +0 -12
  771. data/lib/tdlib/types/update/new_inline_callback_query.rb +0 -16
  772. data/lib/tdlib/types/update/new_inline_query.rb +0 -16
  773. data/lib/tdlib/types/update/new_message.rb +0 -8
  774. data/lib/tdlib/types/update/new_pre_checkout_query.rb +0 -22
  775. data/lib/tdlib/types/update/new_shipping_query.rb +0 -15
  776. data/lib/tdlib/types/update/notification.rb +0 -10
  777. data/lib/tdlib/types/update/notification_group.rb +0 -26
  778. data/lib/tdlib/types/update/option.rb +0 -10
  779. data/lib/tdlib/types/update/poll.rb +0 -8
  780. data/lib/tdlib/types/update/recent_stickers.rb +0 -11
  781. data/lib/tdlib/types/update/saved_animations.rb +0 -8
  782. data/lib/tdlib/types/update/scope_notification_settings.rb +0 -10
  783. data/lib/tdlib/types/update/secret_chat.rb +0 -9
  784. data/lib/tdlib/types/update/selected_background.rb +0 -10
  785. data/lib/tdlib/types/update/service_notification.rb +0 -13
  786. data/lib/tdlib/types/update/supergroup.rb +0 -9
  787. data/lib/tdlib/types/update/supergroup_full_info.rb +0 -10
  788. data/lib/tdlib/types/update/terms_of_service.rb +0 -12
  789. data/lib/tdlib/types/update/trending_sticker_sets.rb +0 -8
  790. data/lib/tdlib/types/update/unread_chat_count.rb +0 -20
  791. data/lib/tdlib/types/update/unread_message_count.rb +0 -13
  792. data/lib/tdlib/types/update/user.rb +0 -9
  793. data/lib/tdlib/types/update/user_chat_action.rb +0 -12
  794. data/lib/tdlib/types/update/user_full_info.rb +0 -10
  795. data/lib/tdlib/types/update/user_privacy_setting_rules.rb +0 -10
  796. data/lib/tdlib/types/update/user_status.rb +0 -10
  797. data/lib/tdlib/types/update/users_nearby.rb +0 -9
  798. data/lib/tdlib/types/updates.rb +0 -8
  799. data/lib/tdlib/types/user.rb +0 -42
  800. data/lib/tdlib/types/user_full_info.rb +0 -24
  801. data/lib/tdlib/types/user_privacy_setting.rb +0 -17
  802. data/lib/tdlib/types/user_privacy_setting/allow_calls.rb +0 -5
  803. data/lib/tdlib/types/user_privacy_setting/allow_chat_invites.rb +0 -5
  804. data/lib/tdlib/types/user_privacy_setting/allow_finding_by_phone_number.rb +0 -7
  805. data/lib/tdlib/types/user_privacy_setting/allow_peer_to_peer_calls.rb +0 -5
  806. data/lib/tdlib/types/user_privacy_setting/show_link_in_forwarded_messages.rb +0 -5
  807. data/lib/tdlib/types/user_privacy_setting/show_phone_number.rb +0 -5
  808. data/lib/tdlib/types/user_privacy_setting/show_profile_photo.rb +0 -5
  809. data/lib/tdlib/types/user_privacy_setting/show_status.rb +0 -5
  810. data/lib/tdlib/types/user_privacy_setting_rule.rb +0 -17
  811. data/lib/tdlib/types/user_privacy_setting_rule/allow_all.rb +0 -5
  812. data/lib/tdlib/types/user_privacy_setting_rule/allow_chat_members.rb +0 -8
  813. data/lib/tdlib/types/user_privacy_setting_rule/allow_contacts.rb +0 -5
  814. data/lib/tdlib/types/user_privacy_setting_rule/allow_users.rb +0 -8
  815. data/lib/tdlib/types/user_privacy_setting_rule/restrict_all.rb +0 -5
  816. data/lib/tdlib/types/user_privacy_setting_rule/restrict_chat_members.rb +0 -8
  817. data/lib/tdlib/types/user_privacy_setting_rule/restrict_contacts.rb +0 -5
  818. data/lib/tdlib/types/user_privacy_setting_rule/restrict_users.rb +0 -8
  819. data/lib/tdlib/types/user_privacy_setting_rules.rb +0 -11
  820. data/lib/tdlib/types/user_profile_photo.rb +0 -12
  821. data/lib/tdlib/types/user_profile_photos.rb +0 -10
  822. data/lib/tdlib/types/user_status.rb +0 -15
  823. data/lib/tdlib/types/user_status/empty.rb +0 -5
  824. data/lib/tdlib/types/user_status/last_month.rb +0 -5
  825. data/lib/tdlib/types/user_status/last_week.rb +0 -5
  826. data/lib/tdlib/types/user_status/offline.rb +0 -8
  827. data/lib/tdlib/types/user_status/online.rb +0 -8
  828. data/lib/tdlib/types/user_status/recently.rb +0 -5
  829. data/lib/tdlib/types/user_type.rb +0 -14
  830. data/lib/tdlib/types/user_type/bot.rb +0 -18
  831. data/lib/tdlib/types/user_type/deleted.rb +0 -7
  832. data/lib/tdlib/types/user_type/regular.rb +0 -5
  833. data/lib/tdlib/types/user_type/unknown.rb +0 -7
  834. data/lib/tdlib/types/users.rb +0 -10
  835. data/lib/tdlib/types/validated_order_info.rb +0 -11
  836. data/lib/tdlib/types/venue.rb +0 -19
  837. data/lib/tdlib/types/video.rb +0 -26
  838. data/lib/tdlib/types/video_note.rb +0 -17
  839. data/lib/tdlib/types/voice_note.rb +0 -16
  840. data/lib/tdlib/types/web_page.rb +0 -52
  841. data/lib/tdlib/types/web_page_instant_view.rb +0 -18
data/lib/tdlib/types.rb DELETED
@@ -1,1109 +0,0 @@
1
- require 'dry-struct'
2
- require 'dry-types'
3
-
4
- module TD::Types
5
- include Dry::Types.module
6
-
7
- LOOKUP_TABLE = {
8
- 'error' => 'Error',
9
- 'ok' => 'Ok',
10
- 'tdlibParameters' => 'TdlibParameters',
11
- 'AuthenticationCodeType' => 'AuthenticationCodeType',
12
- 'authenticationCodeTypeTelegramMessage' => 'AuthenticationCodeType::TelegramMessage',
13
- 'authenticationCodeTypeSms' => 'AuthenticationCodeType::Sms',
14
- 'authenticationCodeTypeCall' => 'AuthenticationCodeType::Call',
15
- 'authenticationCodeTypeFlashCall' => 'AuthenticationCodeType::FlashCall',
16
- 'authenticationCodeInfo' => 'AuthenticationCodeInfo',
17
- 'emailAddressAuthenticationCodeInfo' => 'EmailAddressAuthenticationCodeInfo',
18
- 'textEntity' => 'TextEntity',
19
- 'textEntities' => 'TextEntities',
20
- 'formattedText' => 'FormattedText',
21
- 'termsOfService' => 'TermsOfService',
22
- 'AuthorizationState' => 'AuthorizationState',
23
- 'authorizationStateWaitTdlibParameters' => 'AuthorizationState::WaitTdlibParameters',
24
- 'authorizationStateWaitEncryptionKey' => 'AuthorizationState::WaitEncryptionKey',
25
- 'authorizationStateWaitPhoneNumber' => 'AuthorizationState::WaitPhoneNumber',
26
- 'authorizationStateWaitCode' => 'AuthorizationState::WaitCode',
27
- 'authorizationStateWaitOtherDeviceConfirmation' => 'AuthorizationState::WaitOtherDeviceConfirmation',
28
- 'authorizationStateWaitRegistration' => 'AuthorizationState::WaitRegistration',
29
- 'authorizationStateWaitPassword' => 'AuthorizationState::WaitPassword',
30
- 'authorizationStateReady' => 'AuthorizationState::Ready',
31
- 'authorizationStateLoggingOut' => 'AuthorizationState::LoggingOut',
32
- 'authorizationStateClosing' => 'AuthorizationState::Closing',
33
- 'authorizationStateClosed' => 'AuthorizationState::Closed',
34
- 'passwordState' => 'PasswordState',
35
- 'recoveryEmailAddress' => 'RecoveryEmailAddress',
36
- 'temporaryPasswordState' => 'TemporaryPasswordState',
37
- 'localFile' => 'LocalFile',
38
- 'remoteFile' => 'RemoteFile',
39
- 'file' => 'File',
40
- 'InputFile' => 'InputFile',
41
- 'inputFileId' => 'InputFile::Id',
42
- 'inputFileRemote' => 'InputFile::Remote',
43
- 'inputFileLocal' => 'InputFile::Local',
44
- 'inputFileGenerated' => 'InputFile::Generated',
45
- 'photoSize' => 'PhotoSize',
46
- 'minithumbnail' => 'Minithumbnail',
47
- 'MaskPoint' => 'MaskPoint',
48
- 'maskPointForehead' => 'MaskPoint::Forehead',
49
- 'maskPointEyes' => 'MaskPoint::Eyes',
50
- 'maskPointMouth' => 'MaskPoint::Mouth',
51
- 'maskPointChin' => 'MaskPoint::Chin',
52
- 'maskPosition' => 'MaskPosition',
53
- 'pollOption' => 'PollOption',
54
- 'animation' => 'Animation',
55
- 'audio' => 'Audio',
56
- 'document' => 'Document',
57
- 'photo' => 'Photo',
58
- 'sticker' => 'Sticker',
59
- 'video' => 'Video',
60
- 'videoNote' => 'VideoNote',
61
- 'voiceNote' => 'VoiceNote',
62
- 'contact' => 'Contact',
63
- 'location' => 'Location',
64
- 'venue' => 'Venue',
65
- 'game' => 'Game',
66
- 'poll' => 'Poll',
67
- 'profilePhoto' => 'ProfilePhoto',
68
- 'chatPhoto' => 'ChatPhoto',
69
- 'UserType' => 'UserType',
70
- 'userTypeRegular' => 'UserType::Regular',
71
- 'userTypeDeleted' => 'UserType::Deleted',
72
- 'userTypeBot' => 'UserType::Bot',
73
- 'userTypeUnknown' => 'UserType::Unknown',
74
- 'botCommand' => 'BotCommand',
75
- 'botInfo' => 'BotInfo',
76
- 'chatLocation' => 'ChatLocation',
77
- 'user' => 'User',
78
- 'userFullInfo' => 'UserFullInfo',
79
- 'userProfilePhoto' => 'UserProfilePhoto',
80
- 'userProfilePhotos' => 'UserProfilePhotos',
81
- 'users' => 'Users',
82
- 'chatAdministrator' => 'ChatAdministrator',
83
- 'chatAdministrators' => 'ChatAdministrators',
84
- 'chatPermissions' => 'ChatPermissions',
85
- 'ChatMemberStatus' => 'ChatMemberStatus',
86
- 'chatMemberStatusCreator' => 'ChatMemberStatus::Creator',
87
- 'chatMemberStatusAdministrator' => 'ChatMemberStatus::Administrator',
88
- 'chatMemberStatusMember' => 'ChatMemberStatus::Member',
89
- 'chatMemberStatusRestricted' => 'ChatMemberStatus::Restricted',
90
- 'chatMemberStatusLeft' => 'ChatMemberStatus::Left',
91
- 'chatMemberStatusBanned' => 'ChatMemberStatus::Banned',
92
- 'chatMember' => 'ChatMember',
93
- 'chatMembers' => 'ChatMembers',
94
- 'ChatMembersFilter' => 'ChatMembersFilter',
95
- 'chatMembersFilterContacts' => 'ChatMembersFilter::Contacts',
96
- 'chatMembersFilterAdministrators' => 'ChatMembersFilter::Administrators',
97
- 'chatMembersFilterMembers' => 'ChatMembersFilter::Members',
98
- 'chatMembersFilterRestricted' => 'ChatMembersFilter::Restricted',
99
- 'chatMembersFilterBanned' => 'ChatMembersFilter::Banned',
100
- 'chatMembersFilterBots' => 'ChatMembersFilter::Bots',
101
- 'SupergroupMembersFilter' => 'SupergroupMembersFilter',
102
- 'supergroupMembersFilterRecent' => 'SupergroupMembersFilter::Recent',
103
- 'supergroupMembersFilterContacts' => 'SupergroupMembersFilter::Contacts',
104
- 'supergroupMembersFilterAdministrators' => 'SupergroupMembersFilter::Administrators',
105
- 'supergroupMembersFilterSearch' => 'SupergroupMembersFilter::Search',
106
- 'supergroupMembersFilterRestricted' => 'SupergroupMembersFilter::Restricted',
107
- 'supergroupMembersFilterBanned' => 'SupergroupMembersFilter::Banned',
108
- 'supergroupMembersFilterBots' => 'SupergroupMembersFilter::Bots',
109
- 'basicGroup' => 'BasicGroup',
110
- 'basicGroupFullInfo' => 'BasicGroupFullInfo',
111
- 'supergroup' => 'Supergroup',
112
- 'supergroupFullInfo' => 'SupergroupFullInfo',
113
- 'SecretChatState' => 'SecretChatState',
114
- 'secretChatStatePending' => 'SecretChatState::Pending',
115
- 'secretChatStateReady' => 'SecretChatState::Ready',
116
- 'secretChatStateClosed' => 'SecretChatState::Closed',
117
- 'secretChat' => 'SecretChat',
118
- 'MessageForwardOrigin' => 'MessageForwardOrigin',
119
- 'messageForwardOriginUser' => 'MessageForwardOrigin::User',
120
- 'messageForwardOriginHiddenUser' => 'MessageForwardOrigin::HiddenUser',
121
- 'messageForwardOriginChannel' => 'MessageForwardOrigin::Channel',
122
- 'messageForwardInfo' => 'MessageForwardInfo',
123
- 'MessageSendingState' => 'MessageSendingState',
124
- 'messageSendingStatePending' => 'MessageSendingState::Pending',
125
- 'messageSendingStateFailed' => 'MessageSendingState::Failed',
126
- 'message' => 'Message',
127
- 'messages' => 'Messages',
128
- 'foundMessages' => 'FoundMessages',
129
- 'NotificationSettingsScope' => 'NotificationSettingsScope',
130
- 'notificationSettingsScopePrivateChats' => 'NotificationSettingsScope::PrivateChats',
131
- 'notificationSettingsScopeGroupChats' => 'NotificationSettingsScope::GroupChats',
132
- 'notificationSettingsScopeChannelChats' => 'NotificationSettingsScope::ChannelChats',
133
- 'chatNotificationSettings' => 'ChatNotificationSettings',
134
- 'scopeNotificationSettings' => 'ScopeNotificationSettings',
135
- 'draftMessage' => 'DraftMessage',
136
- 'ChatType' => 'ChatType',
137
- 'chatTypePrivate' => 'ChatType::Private',
138
- 'chatTypeBasicGroup' => 'ChatType::BasicGroup',
139
- 'chatTypeSupergroup' => 'ChatType::Supergroup',
140
- 'chatTypeSecret' => 'ChatType::Secret',
141
- 'ChatList' => 'ChatList',
142
- 'chatListMain' => 'ChatList::Main',
143
- 'chatListArchive' => 'ChatList::Archive',
144
- 'chat' => 'Chat',
145
- 'chats' => 'Chats',
146
- 'chatNearby' => 'ChatNearby',
147
- 'chatsNearby' => 'ChatsNearby',
148
- 'chatInviteLink' => 'ChatInviteLink',
149
- 'chatInviteLinkInfo' => 'ChatInviteLinkInfo',
150
- 'PublicChatType' => 'PublicChatType',
151
- 'publicChatTypeHasUsername' => 'PublicChatType::HasUsername',
152
- 'publicChatTypeIsLocationBased' => 'PublicChatType::IsLocationBased',
153
- 'ChatActionBar' => 'ChatActionBar',
154
- 'chatActionBarReportSpam' => 'ChatActionBar::ReportSpam',
155
- 'chatActionBarReportUnrelatedLocation' => 'ChatActionBar::ReportUnrelatedLocation',
156
- 'chatActionBarReportAddBlock' => 'ChatActionBar::ReportAddBlock',
157
- 'chatActionBarAddContact' => 'ChatActionBar::AddContact',
158
- 'chatActionBarSharePhoneNumber' => 'ChatActionBar::SharePhoneNumber',
159
- 'KeyboardButtonType' => 'KeyboardButtonType',
160
- 'keyboardButtonTypeText' => 'KeyboardButtonType::Text',
161
- 'keyboardButtonTypeRequestPhoneNumber' => 'KeyboardButtonType::RequestPhoneNumber',
162
- 'keyboardButtonTypeRequestLocation' => 'KeyboardButtonType::RequestLocation',
163
- 'keyboardButton' => 'KeyboardButton',
164
- 'InlineKeyboardButtonType' => 'InlineKeyboardButtonType',
165
- 'inlineKeyboardButtonTypeUrl' => 'InlineKeyboardButtonType::Url',
166
- 'inlineKeyboardButtonTypeLoginUrl' => 'InlineKeyboardButtonType::LoginUrl',
167
- 'inlineKeyboardButtonTypeCallback' => 'InlineKeyboardButtonType::Callback',
168
- 'inlineKeyboardButtonTypeCallbackGame' => 'InlineKeyboardButtonType::CallbackGame',
169
- 'inlineKeyboardButtonTypeSwitchInline' => 'InlineKeyboardButtonType::SwitchInline',
170
- 'inlineKeyboardButtonTypeBuy' => 'InlineKeyboardButtonType::Buy',
171
- 'inlineKeyboardButton' => 'InlineKeyboardButton',
172
- 'ReplyMarkup' => 'ReplyMarkup',
173
- 'replyMarkupRemoveKeyboard' => 'ReplyMarkup::RemoveKeyboard',
174
- 'replyMarkupForceReply' => 'ReplyMarkup::ForceReply',
175
- 'replyMarkupShowKeyboard' => 'ReplyMarkup::ShowKeyboard',
176
- 'replyMarkupInlineKeyboard' => 'ReplyMarkup::InlineKeyboard',
177
- 'LoginUrlInfo' => 'LoginUrlInfo',
178
- 'loginUrlInfoOpen' => 'LoginUrlInfo::Open',
179
- 'loginUrlInfoRequestConfirmation' => 'LoginUrlInfo::RequestConfirmation',
180
- 'RichText' => 'RichText',
181
- 'richTextPlain' => 'RichText::Plain',
182
- 'richTextBold' => 'RichText::Bold',
183
- 'richTextItalic' => 'RichText::Italic',
184
- 'richTextUnderline' => 'RichText::Underline',
185
- 'richTextStrikethrough' => 'RichText::Strikethrough',
186
- 'richTextFixed' => 'RichText::Fixed',
187
- 'richTextUrl' => 'RichText::Url',
188
- 'richTextEmailAddress' => 'RichText::EmailAddress',
189
- 'richTextSubscript' => 'RichText::Subscript',
190
- 'richTextSuperscript' => 'RichText::Superscript',
191
- 'richTextMarked' => 'RichText::Marked',
192
- 'richTextPhoneNumber' => 'RichText::PhoneNumber',
193
- 'richTextIcon' => 'RichText::Icon',
194
- 'richTextAnchor' => 'RichText::Anchor',
195
- 'richTexts' => 'RichText::s',
196
- 'pageBlockCaption' => 'PageBlockCaption',
197
- 'pageBlockListItem' => 'PageBlockListItem',
198
- 'PageBlockHorizontalAlignment' => 'PageBlockHorizontalAlignment',
199
- 'pageBlockHorizontalAlignmentLeft' => 'PageBlockHorizontalAlignment::Left',
200
- 'pageBlockHorizontalAlignmentCenter' => 'PageBlockHorizontalAlignment::Center',
201
- 'pageBlockHorizontalAlignmentRight' => 'PageBlockHorizontalAlignment::Right',
202
- 'PageBlockVerticalAlignment' => 'PageBlockVerticalAlignment',
203
- 'pageBlockVerticalAlignmentTop' => 'PageBlockVerticalAlignment::Top',
204
- 'pageBlockVerticalAlignmentMiddle' => 'PageBlockVerticalAlignment::Middle',
205
- 'pageBlockVerticalAlignmentBottom' => 'PageBlockVerticalAlignment::Bottom',
206
- 'pageBlockTableCell' => 'PageBlockTableCell',
207
- 'pageBlockRelatedArticle' => 'PageBlockRelatedArticle',
208
- 'PageBlock' => 'PageBlock',
209
- 'pageBlockTitle' => 'PageBlock::Title',
210
- 'pageBlockSubtitle' => 'PageBlock::Subtitle',
211
- 'pageBlockAuthorDate' => 'PageBlock::AuthorDate',
212
- 'pageBlockHeader' => 'PageBlock::Header',
213
- 'pageBlockSubheader' => 'PageBlock::Subheader',
214
- 'pageBlockKicker' => 'PageBlock::Kicker',
215
- 'pageBlockParagraph' => 'PageBlock::Paragraph',
216
- 'pageBlockPreformatted' => 'PageBlock::Preformatted',
217
- 'pageBlockFooter' => 'PageBlock::Footer',
218
- 'pageBlockDivider' => 'PageBlock::Divider',
219
- 'pageBlockAnchor' => 'PageBlock::Anchor',
220
- 'pageBlockList' => 'PageBlock::List',
221
- 'pageBlockBlockQuote' => 'PageBlock::BlockQuote',
222
- 'pageBlockPullQuote' => 'PageBlock::PullQuote',
223
- 'pageBlockAnimation' => 'PageBlock::Animation',
224
- 'pageBlockAudio' => 'PageBlock::Audio',
225
- 'pageBlockPhoto' => 'PageBlock::Photo',
226
- 'pageBlockVideo' => 'PageBlock::Video',
227
- 'pageBlockVoiceNote' => 'PageBlock::VoiceNote',
228
- 'pageBlockCover' => 'PageBlock::Cover',
229
- 'pageBlockEmbedded' => 'PageBlock::Embedded',
230
- 'pageBlockEmbeddedPost' => 'PageBlock::EmbeddedPost',
231
- 'pageBlockCollage' => 'PageBlock::Collage',
232
- 'pageBlockSlideshow' => 'PageBlock::Slideshow',
233
- 'pageBlockChatLink' => 'PageBlock::ChatLink',
234
- 'pageBlockTable' => 'PageBlock::Table',
235
- 'pageBlockDetails' => 'PageBlock::Details',
236
- 'pageBlockRelatedArticles' => 'PageBlock::RelatedArticles',
237
- 'pageBlockMap' => 'PageBlock::Map',
238
- 'webPageInstantView' => 'WebPageInstantView',
239
- 'webPage' => 'WebPage',
240
- 'address' => 'Address',
241
- 'labeledPricePart' => 'LabeledPricePart',
242
- 'invoice' => 'Invoice',
243
- 'orderInfo' => 'OrderInfo',
244
- 'shippingOption' => 'ShippingOption',
245
- 'savedCredentials' => 'SavedCredentials',
246
- 'InputCredentials' => 'InputCredentials',
247
- 'inputCredentialsSaved' => 'InputCredentials::Saved',
248
- 'inputCredentialsNew' => 'InputCredentials::New',
249
- 'inputCredentialsAndroidPay' => 'InputCredentials::AndroidPay',
250
- 'inputCredentialsApplePay' => 'InputCredentials::ApplePay',
251
- 'paymentsProviderStripe' => 'PaymentsProviderStripe',
252
- 'paymentForm' => 'PaymentForm',
253
- 'validatedOrderInfo' => 'ValidatedOrderInfo',
254
- 'paymentResult' => 'PaymentResult',
255
- 'paymentReceipt' => 'PaymentReceipt',
256
- 'datedFile' => 'DatedFile',
257
- 'PassportElementType' => 'PassportElementType',
258
- 'passportElementTypePersonalDetails' => 'PassportElementType::PersonalDetails',
259
- 'passportElementTypePassport' => 'PassportElementType::Passport',
260
- 'passportElementTypeDriverLicense' => 'PassportElementType::DriverLicense',
261
- 'passportElementTypeIdentityCard' => 'PassportElementType::IdentityCard',
262
- 'passportElementTypeInternalPassport' => 'PassportElementType::InternalPassport',
263
- 'passportElementTypeAddress' => 'PassportElementType::Address',
264
- 'passportElementTypeUtilityBill' => 'PassportElementType::UtilityBill',
265
- 'passportElementTypeBankStatement' => 'PassportElementType::BankStatement',
266
- 'passportElementTypeRentalAgreement' => 'PassportElementType::RentalAgreement',
267
- 'passportElementTypePassportRegistration' => 'PassportElementType::PassportRegistration',
268
- 'passportElementTypeTemporaryRegistration' => 'PassportElementType::TemporaryRegistration',
269
- 'passportElementTypePhoneNumber' => 'PassportElementType::PhoneNumber',
270
- 'passportElementTypeEmailAddress' => 'PassportElementType::EmailAddress',
271
- 'date' => 'Date',
272
- 'personalDetails' => 'PersonalDetails',
273
- 'identityDocument' => 'IdentityDocument',
274
- 'inputIdentityDocument' => 'InputIdentityDocument',
275
- 'personalDocument' => 'PersonalDocument',
276
- 'inputPersonalDocument' => 'InputPersonalDocument',
277
- 'PassportElement' => 'PassportElement',
278
- 'passportElementPersonalDetails' => 'PassportElement::PersonalDetails',
279
- 'passportElementPassport' => 'PassportElement::Passport',
280
- 'passportElementDriverLicense' => 'PassportElement::DriverLicense',
281
- 'passportElementIdentityCard' => 'PassportElement::IdentityCard',
282
- 'passportElementInternalPassport' => 'PassportElement::InternalPassport',
283
- 'passportElementAddress' => 'PassportElement::Address',
284
- 'passportElementUtilityBill' => 'PassportElement::UtilityBill',
285
- 'passportElementBankStatement' => 'PassportElement::BankStatement',
286
- 'passportElementRentalAgreement' => 'PassportElement::RentalAgreement',
287
- 'passportElementPassportRegistration' => 'PassportElement::PassportRegistration',
288
- 'passportElementTemporaryRegistration' => 'PassportElement::TemporaryRegistration',
289
- 'passportElementPhoneNumber' => 'PassportElement::PhoneNumber',
290
- 'passportElementEmailAddress' => 'PassportElement::EmailAddress',
291
- 'InputPassportElement' => 'InputPassportElement',
292
- 'inputPassportElementPersonalDetails' => 'InputPassportElement::PersonalDetails',
293
- 'inputPassportElementPassport' => 'InputPassportElement::Passport',
294
- 'inputPassportElementDriverLicense' => 'InputPassportElement::DriverLicense',
295
- 'inputPassportElementIdentityCard' => 'InputPassportElement::IdentityCard',
296
- 'inputPassportElementInternalPassport' => 'InputPassportElement::InternalPassport',
297
- 'inputPassportElementAddress' => 'InputPassportElement::Address',
298
- 'inputPassportElementUtilityBill' => 'InputPassportElement::UtilityBill',
299
- 'inputPassportElementBankStatement' => 'InputPassportElement::BankStatement',
300
- 'inputPassportElementRentalAgreement' => 'InputPassportElement::RentalAgreement',
301
- 'inputPassportElementPassportRegistration' => 'InputPassportElement::PassportRegistration',
302
- 'inputPassportElementTemporaryRegistration' => 'InputPassportElement::TemporaryRegistration',
303
- 'inputPassportElementPhoneNumber' => 'InputPassportElement::PhoneNumber',
304
- 'inputPassportElementEmailAddress' => 'InputPassportElement::EmailAddress',
305
- 'passportElements' => 'PassportElements',
306
- 'PassportElementErrorSource' => 'PassportElementErrorSource',
307
- 'passportElementErrorSourceUnspecified' => 'PassportElementErrorSource::Unspecified',
308
- 'passportElementErrorSourceDataField' => 'PassportElementErrorSource::DataField',
309
- 'passportElementErrorSourceFrontSide' => 'PassportElementErrorSource::FrontSide',
310
- 'passportElementErrorSourceReverseSide' => 'PassportElementErrorSource::ReverseSide',
311
- 'passportElementErrorSourceSelfie' => 'PassportElementErrorSource::Selfie',
312
- 'passportElementErrorSourceTranslationFile' => 'PassportElementErrorSource::TranslationFile',
313
- 'passportElementErrorSourceTranslationFiles' => 'PassportElementErrorSource::TranslationFiles',
314
- 'passportElementErrorSourceFile' => 'PassportElementErrorSource::File',
315
- 'passportElementErrorSourceFiles' => 'PassportElementErrorSource::Files',
316
- 'passportElementError' => 'PassportElementError',
317
- 'passportSuitableElement' => 'PassportSuitableElement',
318
- 'passportRequiredElement' => 'PassportRequiredElement',
319
- 'passportAuthorizationForm' => 'PassportAuthorizationForm',
320
- 'passportElementsWithErrors' => 'PassportElementsWithErrors',
321
- 'encryptedCredentials' => 'EncryptedCredentials',
322
- 'encryptedPassportElement' => 'EncryptedPassportElement',
323
- 'InputPassportElementErrorSource' => 'InputPassportElementErrorSource',
324
- 'inputPassportElementErrorSourceUnspecified' => 'InputPassportElementErrorSource::Unspecified',
325
- 'inputPassportElementErrorSourceDataField' => 'InputPassportElementErrorSource::DataField',
326
- 'inputPassportElementErrorSourceFrontSide' => 'InputPassportElementErrorSource::FrontSide',
327
- 'inputPassportElementErrorSourceReverseSide' => 'InputPassportElementErrorSource::ReverseSide',
328
- 'inputPassportElementErrorSourceSelfie' => 'InputPassportElementErrorSource::Selfie',
329
- 'inputPassportElementErrorSourceTranslationFile' => 'InputPassportElementErrorSource::TranslationFile',
330
- 'inputPassportElementErrorSourceTranslationFiles' => 'InputPassportElementErrorSource::TranslationFiles',
331
- 'inputPassportElementErrorSourceFile' => 'InputPassportElementErrorSource::File',
332
- 'inputPassportElementErrorSourceFiles' => 'InputPassportElementErrorSource::Files',
333
- 'inputPassportElementError' => 'InputPassportElementError',
334
- 'MessageContent' => 'MessageContent',
335
- 'messageText' => 'MessageContent::Text',
336
- 'messageAnimation' => 'MessageContent::Animation',
337
- 'messageAudio' => 'MessageContent::Audio',
338
- 'messageDocument' => 'MessageContent::Document',
339
- 'messagePhoto' => 'MessageContent::Photo',
340
- 'messageExpiredPhoto' => 'MessageContent::ExpiredPhoto',
341
- 'messageSticker' => 'MessageContent::Sticker',
342
- 'messageVideo' => 'MessageContent::Video',
343
- 'messageExpiredVideo' => 'MessageContent::ExpiredVideo',
344
- 'messageVideoNote' => 'MessageContent::VideoNote',
345
- 'messageVoiceNote' => 'MessageContent::VoiceNote',
346
- 'messageLocation' => 'MessageContent::Location',
347
- 'messageVenue' => 'MessageContent::Venue',
348
- 'messageContact' => 'MessageContent::Contact',
349
- 'messageGame' => 'MessageContent::Game',
350
- 'messagePoll' => 'MessageContent::Poll',
351
- 'messageInvoice' => 'MessageContent::Invoice',
352
- 'messageCall' => 'MessageContent::Call',
353
- 'messageBasicGroupChatCreate' => 'MessageContent::BasicGroupChatCreate',
354
- 'messageSupergroupChatCreate' => 'MessageContent::SupergroupChatCreate',
355
- 'messageChatChangeTitle' => 'MessageContent::ChatChangeTitle',
356
- 'messageChatChangePhoto' => 'MessageContent::ChatChangePhoto',
357
- 'messageChatDeletePhoto' => 'MessageContent::ChatDeletePhoto',
358
- 'messageChatAddMembers' => 'MessageContent::ChatAddMembers',
359
- 'messageChatJoinByLink' => 'MessageContent::ChatJoinByLink',
360
- 'messageChatDeleteMember' => 'MessageContent::ChatDeleteMember',
361
- 'messageChatUpgradeTo' => 'MessageContent::ChatUpgradeTo',
362
- 'messageChatUpgradeFrom' => 'MessageContent::ChatUpgradeFrom',
363
- 'messagePinMessage' => 'MessageContent::PinMessage',
364
- 'messageScreenshotTaken' => 'MessageContent::ScreenshotTaken',
365
- 'messageChatSetTtl' => 'MessageContent::ChatSetTtl',
366
- 'messageCustomServiceAction' => 'MessageContent::CustomServiceAction',
367
- 'messageGameScore' => 'MessageContent::GameScore',
368
- 'messagePaymentSuccessful' => 'MessageContent::PaymentSuccessful',
369
- 'messagePaymentSuccessfulBot' => 'MessageContent::PaymentSuccessfulBot',
370
- 'messageContactRegistered' => 'MessageContent::ContactRegistered',
371
- 'messageWebsiteConnected' => 'MessageContent::WebsiteConnected',
372
- 'messagePassportDataSent' => 'MessageContent::PassportDataSent',
373
- 'messagePassportDataReceived' => 'MessageContent::PassportDataReceived',
374
- 'messageUnsupported' => 'MessageContent::Unsupported',
375
- 'TextEntityType' => 'TextEntityType',
376
- 'textEntityTypeMention' => 'TextEntityType::Mention',
377
- 'textEntityTypeHashtag' => 'TextEntityType::Hashtag',
378
- 'textEntityTypeCashtag' => 'TextEntityType::Cashtag',
379
- 'textEntityTypeBotCommand' => 'TextEntityType::BotCommand',
380
- 'textEntityTypeUrl' => 'TextEntityType::Url',
381
- 'textEntityTypeEmailAddress' => 'TextEntityType::EmailAddress',
382
- 'textEntityTypePhoneNumber' => 'TextEntityType::PhoneNumber',
383
- 'textEntityTypeBold' => 'TextEntityType::Bold',
384
- 'textEntityTypeItalic' => 'TextEntityType::Italic',
385
- 'textEntityTypeUnderline' => 'TextEntityType::Underline',
386
- 'textEntityTypeStrikethrough' => 'TextEntityType::Strikethrough',
387
- 'textEntityTypeCode' => 'TextEntityType::Code',
388
- 'textEntityTypePre' => 'TextEntityType::Pre',
389
- 'textEntityTypePreCode' => 'TextEntityType::PreCode',
390
- 'textEntityTypeTextUrl' => 'TextEntityType::TextUrl',
391
- 'textEntityTypeMentionName' => 'TextEntityType::MentionName',
392
- 'inputThumbnail' => 'InputThumbnail',
393
- 'MessageSchedulingState' => 'MessageSchedulingState',
394
- 'messageSchedulingStateSendAtDate' => 'MessageSchedulingState::SendAtDate',
395
- 'messageSchedulingStateSendWhenOnline' => 'MessageSchedulingState::SendWhenOnline',
396
- 'sendMessageOptions' => 'SendMessageOptions',
397
- 'InputMessageContent' => 'InputMessageContent',
398
- 'inputMessageText' => 'InputMessageContent::Text',
399
- 'inputMessageAnimation' => 'InputMessageContent::Animation',
400
- 'inputMessageAudio' => 'InputMessageContent::Audio',
401
- 'inputMessageDocument' => 'InputMessageContent::Document',
402
- 'inputMessagePhoto' => 'InputMessageContent::Photo',
403
- 'inputMessageSticker' => 'InputMessageContent::Sticker',
404
- 'inputMessageVideo' => 'InputMessageContent::Video',
405
- 'inputMessageVideoNote' => 'InputMessageContent::VideoNote',
406
- 'inputMessageVoiceNote' => 'InputMessageContent::VoiceNote',
407
- 'inputMessageLocation' => 'InputMessageContent::Location',
408
- 'inputMessageVenue' => 'InputMessageContent::Venue',
409
- 'inputMessageContact' => 'InputMessageContent::Contact',
410
- 'inputMessageGame' => 'InputMessageContent::Game',
411
- 'inputMessageInvoice' => 'InputMessageContent::Invoice',
412
- 'inputMessagePoll' => 'InputMessageContent::Poll',
413
- 'inputMessageForwarded' => 'InputMessageContent::Forwarded',
414
- 'SearchMessagesFilter' => 'SearchMessagesFilter',
415
- 'searchMessagesFilterEmpty' => 'SearchMessagesFilter::Empty',
416
- 'searchMessagesFilterAnimation' => 'SearchMessagesFilter::Animation',
417
- 'searchMessagesFilterAudio' => 'SearchMessagesFilter::Audio',
418
- 'searchMessagesFilterDocument' => 'SearchMessagesFilter::Document',
419
- 'searchMessagesFilterPhoto' => 'SearchMessagesFilter::Photo',
420
- 'searchMessagesFilterVideo' => 'SearchMessagesFilter::Video',
421
- 'searchMessagesFilterVoiceNote' => 'SearchMessagesFilter::VoiceNote',
422
- 'searchMessagesFilterPhotoAndVideo' => 'SearchMessagesFilter::PhotoAndVideo',
423
- 'searchMessagesFilterUrl' => 'SearchMessagesFilter::Url',
424
- 'searchMessagesFilterChatPhoto' => 'SearchMessagesFilter::ChatPhoto',
425
- 'searchMessagesFilterCall' => 'SearchMessagesFilter::Call',
426
- 'searchMessagesFilterMissedCall' => 'SearchMessagesFilter::MissedCall',
427
- 'searchMessagesFilterVideoNote' => 'SearchMessagesFilter::VideoNote',
428
- 'searchMessagesFilterVoiceAndVideoNote' => 'SearchMessagesFilter::VoiceAndVideoNote',
429
- 'searchMessagesFilterMention' => 'SearchMessagesFilter::Mention',
430
- 'searchMessagesFilterUnreadMention' => 'SearchMessagesFilter::UnreadMention',
431
- 'ChatAction' => 'ChatAction',
432
- 'chatActionTyping' => 'ChatAction::Typing',
433
- 'chatActionRecordingVideo' => 'ChatAction::RecordingVideo',
434
- 'chatActionUploadingVideo' => 'ChatAction::UploadingVideo',
435
- 'chatActionRecordingVoiceNote' => 'ChatAction::RecordingVoiceNote',
436
- 'chatActionUploadingVoiceNote' => 'ChatAction::UploadingVoiceNote',
437
- 'chatActionUploadingPhoto' => 'ChatAction::UploadingPhoto',
438
- 'chatActionUploadingDocument' => 'ChatAction::UploadingDocument',
439
- 'chatActionChoosingLocation' => 'ChatAction::ChoosingLocation',
440
- 'chatActionChoosingContact' => 'ChatAction::ChoosingContact',
441
- 'chatActionStartPlayingGame' => 'ChatAction::StartPlayingGame',
442
- 'chatActionRecordingVideoNote' => 'ChatAction::RecordingVideoNote',
443
- 'chatActionUploadingVideoNote' => 'ChatAction::UploadingVideoNote',
444
- 'chatActionCancel' => 'ChatAction::Cancel',
445
- 'UserStatus' => 'UserStatus',
446
- 'userStatusEmpty' => 'UserStatus::Empty',
447
- 'userStatusOnline' => 'UserStatus::Online',
448
- 'userStatusOffline' => 'UserStatus::Offline',
449
- 'userStatusRecently' => 'UserStatus::Recently',
450
- 'userStatusLastWeek' => 'UserStatus::LastWeek',
451
- 'userStatusLastMonth' => 'UserStatus::LastMonth',
452
- 'stickers' => 'Stickers',
453
- 'emojis' => 'Emojis',
454
- 'stickerSet' => 'StickerSet',
455
- 'stickerSetInfo' => 'StickerSetInfo',
456
- 'stickerSets' => 'StickerSets',
457
- 'CallDiscardReason' => 'CallDiscardReason',
458
- 'callDiscardReasonEmpty' => 'CallDiscardReason::Empty',
459
- 'callDiscardReasonMissed' => 'CallDiscardReason::Missed',
460
- 'callDiscardReasonDeclined' => 'CallDiscardReason::Declined',
461
- 'callDiscardReasonDisconnected' => 'CallDiscardReason::Disconnected',
462
- 'callDiscardReasonHungUp' => 'CallDiscardReason::HungUp',
463
- 'callProtocol' => 'CallProtocol',
464
- 'callConnection' => 'CallConnection',
465
- 'callId' => 'CallId',
466
- 'CallState' => 'CallState',
467
- 'callStatePending' => 'CallState::Pending',
468
- 'callStateExchangingKeys' => 'CallState::ExchangingKeys',
469
- 'callStateReady' => 'CallState::Ready',
470
- 'callStateHangingUp' => 'CallState::HangingUp',
471
- 'callStateDiscarded' => 'CallState::Discarded',
472
- 'callStateError' => 'CallState::Error',
473
- 'CallProblem' => 'CallProblem',
474
- 'callProblemEcho' => 'CallProblem::Echo',
475
- 'callProblemNoise' => 'CallProblem::Noise',
476
- 'callProblemInterruptions' => 'CallProblem::Interruptions',
477
- 'callProblemDistortedSpeech' => 'CallProblem::DistortedSpeech',
478
- 'callProblemSilentLocal' => 'CallProblem::SilentLocal',
479
- 'callProblemSilentRemote' => 'CallProblem::SilentRemote',
480
- 'callProblemDropped' => 'CallProblem::Dropped',
481
- 'call' => 'Call',
482
- 'phoneNumberAuthenticationSettings' => 'PhoneNumberAuthenticationSettings',
483
- 'animations' => 'Animations',
484
- 'importedContacts' => 'ImportedContacts',
485
- 'httpUrl' => 'HttpUrl',
486
- 'InputInlineQueryResult' => 'InputInlineQueryResult',
487
- 'inputInlineQueryResultAnimatedGif' => 'InputInlineQueryResult::AnimatedGif',
488
- 'inputInlineQueryResultAnimatedMpeg4' => 'InputInlineQueryResult::AnimatedMpeg4',
489
- 'inputInlineQueryResultArticle' => 'InputInlineQueryResult::Article',
490
- 'inputInlineQueryResultAudio' => 'InputInlineQueryResult::Audio',
491
- 'inputInlineQueryResultContact' => 'InputInlineQueryResult::Contact',
492
- 'inputInlineQueryResultDocument' => 'InputInlineQueryResult::Document',
493
- 'inputInlineQueryResultGame' => 'InputInlineQueryResult::Game',
494
- 'inputInlineQueryResultLocation' => 'InputInlineQueryResult::Location',
495
- 'inputInlineQueryResultPhoto' => 'InputInlineQueryResult::Photo',
496
- 'inputInlineQueryResultSticker' => 'InputInlineQueryResult::Sticker',
497
- 'inputInlineQueryResultVenue' => 'InputInlineQueryResult::Venue',
498
- 'inputInlineQueryResultVideo' => 'InputInlineQueryResult::Video',
499
- 'inputInlineQueryResultVoiceNote' => 'InputInlineQueryResult::VoiceNote',
500
- 'InlineQueryResult' => 'InlineQueryResult',
501
- 'inlineQueryResultArticle' => 'InlineQueryResult::Article',
502
- 'inlineQueryResultContact' => 'InlineQueryResult::Contact',
503
- 'inlineQueryResultLocation' => 'InlineQueryResult::Location',
504
- 'inlineQueryResultVenue' => 'InlineQueryResult::Venue',
505
- 'inlineQueryResultGame' => 'InlineQueryResult::Game',
506
- 'inlineQueryResultAnimation' => 'InlineQueryResult::Animation',
507
- 'inlineQueryResultAudio' => 'InlineQueryResult::Audio',
508
- 'inlineQueryResultDocument' => 'InlineQueryResult::Document',
509
- 'inlineQueryResultPhoto' => 'InlineQueryResult::Photo',
510
- 'inlineQueryResultSticker' => 'InlineQueryResult::Sticker',
511
- 'inlineQueryResultVideo' => 'InlineQueryResult::Video',
512
- 'inlineQueryResultVoiceNote' => 'InlineQueryResult::VoiceNote',
513
- 'inlineQueryResults' => 'InlineQueryResults',
514
- 'CallbackQueryPayload' => 'CallbackQueryPayload',
515
- 'callbackQueryPayloadData' => 'CallbackQueryPayload::Data',
516
- 'callbackQueryPayloadGame' => 'CallbackQueryPayload::Game',
517
- 'callbackQueryAnswer' => 'CallbackQueryAnswer',
518
- 'customRequestResult' => 'CustomRequestResult',
519
- 'gameHighScore' => 'GameHighScore',
520
- 'gameHighScores' => 'GameHighScores',
521
- 'tonLiteServerResponse' => 'TonLiteServerResponse',
522
- 'tonWalletPasswordSalt' => 'TonWalletPasswordSalt',
523
- 'ChatEventAction' => 'ChatEventAction',
524
- 'chatEventMessageEdited' => 'ChatEventAction::MessageEdited',
525
- 'chatEventMessageDeleted' => 'ChatEventAction::MessageDeleted',
526
- 'chatEventPollStopped' => 'ChatEventAction::PollStopped',
527
- 'chatEventMessagePinned' => 'ChatEventAction::MessagePinned',
528
- 'chatEventMessageUnpinned' => 'ChatEventAction::MessageUnpinned',
529
- 'chatEventMemberJoined' => 'ChatEventAction::MemberJoined',
530
- 'chatEventMemberLeft' => 'ChatEventAction::MemberLeft',
531
- 'chatEventMemberInvited' => 'ChatEventAction::MemberInvited',
532
- 'chatEventMemberPromoted' => 'ChatEventAction::MemberPromoted',
533
- 'chatEventMemberRestricted' => 'ChatEventAction::MemberRestricted',
534
- 'chatEventTitleChanged' => 'ChatEventAction::TitleChanged',
535
- 'chatEventPermissionsChanged' => 'ChatEventAction::PermissionsChanged',
536
- 'chatEventDescriptionChanged' => 'ChatEventAction::DescriptionChanged',
537
- 'chatEventUsernameChanged' => 'ChatEventAction::UsernameChanged',
538
- 'chatEventPhotoChanged' => 'ChatEventAction::PhotoChanged',
539
- 'chatEventInvitesToggled' => 'ChatEventAction::InvitesToggled',
540
- 'chatEventLinkedChatChanged' => 'ChatEventAction::LinkedChatChanged',
541
- 'chatEventSlowModeDelayChanged' => 'ChatEventAction::SlowModeDelayChanged',
542
- 'chatEventSignMessagesToggled' => 'ChatEventAction::SignMessagesToggled',
543
- 'chatEventStickerSetChanged' => 'ChatEventAction::StickerSetChanged',
544
- 'chatEventLocationChanged' => 'ChatEventAction::LocationChanged',
545
- 'chatEventIsAllHistoryAvailableToggled' => 'ChatEventAction::IsAllHistoryAvailableToggled',
546
- 'chatEvent' => 'ChatEvent',
547
- 'chatEvents' => 'ChatEvents',
548
- 'chatEventLogFilters' => 'ChatEventLogFilters',
549
- 'LanguagePackStringValue' => 'LanguagePackStringValue',
550
- 'languagePackStringValueOrdinary' => 'LanguagePackStringValue::Ordinary',
551
- 'languagePackStringValuePluralized' => 'LanguagePackStringValue::Pluralized',
552
- 'languagePackStringValueDeleted' => 'LanguagePackStringValue::Deleted',
553
- 'languagePackString' => 'LanguagePackString',
554
- 'languagePackStrings' => 'LanguagePackStrings',
555
- 'languagePackInfo' => 'LanguagePackInfo',
556
- 'localizationTargetInfo' => 'LocalizationTargetInfo',
557
- 'DeviceToken' => 'DeviceToken',
558
- 'deviceTokenFirebaseCloudMessaging' => 'DeviceToken::FirebaseCloudMessaging',
559
- 'deviceTokenApplePush' => 'DeviceToken::ApplePush',
560
- 'deviceTokenApplePushVoIP' => 'DeviceToken::ApplePushVoIP',
561
- 'deviceTokenWindowsPush' => 'DeviceToken::WindowsPush',
562
- 'deviceTokenMicrosoftPush' => 'DeviceToken::MicrosoftPush',
563
- 'deviceTokenMicrosoftPushVoIP' => 'DeviceToken::MicrosoftPushVoIP',
564
- 'deviceTokenWebPush' => 'DeviceToken::WebPush',
565
- 'deviceTokenSimplePush' => 'DeviceToken::SimplePush',
566
- 'deviceTokenUbuntuPush' => 'DeviceToken::UbuntuPush',
567
- 'deviceTokenBlackBerryPush' => 'DeviceToken::BlackBerryPush',
568
- 'deviceTokenTizenPush' => 'DeviceToken::TizenPush',
569
- 'pushReceiverId' => 'PushReceiverId',
570
- 'BackgroundFill' => 'BackgroundFill',
571
- 'backgroundFillSolid' => 'BackgroundFill::Solid',
572
- 'backgroundFillGradient' => 'BackgroundFill::Gradient',
573
- 'BackgroundType' => 'BackgroundType',
574
- 'backgroundTypeWallpaper' => 'BackgroundType::Wallpaper',
575
- 'backgroundTypePattern' => 'BackgroundType::Pattern',
576
- 'backgroundTypeFill' => 'BackgroundType::Fill',
577
- 'background' => 'Background',
578
- 'backgrounds' => 'Backgrounds',
579
- 'InputBackground' => 'InputBackground',
580
- 'inputBackgroundLocal' => 'InputBackground::Local',
581
- 'inputBackgroundRemote' => 'InputBackground::Remote',
582
- 'hashtags' => 'Hashtags',
583
- 'CanTransferOwnershipResult' => 'CanTransferOwnershipResult',
584
- 'canTransferOwnershipResultOk' => 'CanTransferOwnershipResult::Ok',
585
- 'canTransferOwnershipResultPasswordNeeded' => 'CanTransferOwnershipResult::PasswordNeeded',
586
- 'canTransferOwnershipResultPasswordTooFresh' => 'CanTransferOwnershipResult::PasswordTooFresh',
587
- 'canTransferOwnershipResultSessionTooFresh' => 'CanTransferOwnershipResult::SessionTooFresh',
588
- 'CheckChatUsernameResult' => 'CheckChatUsernameResult',
589
- 'checkChatUsernameResultOk' => 'CheckChatUsernameResult::Ok',
590
- 'checkChatUsernameResultUsernameInvalid' => 'CheckChatUsernameResult::UsernameInvalid',
591
- 'checkChatUsernameResultUsernameOccupied' => 'CheckChatUsernameResult::UsernameOccupied',
592
- 'checkChatUsernameResultPublicChatsTooMuch' => 'CheckChatUsernameResult::PublicChatsTooMuch',
593
- 'checkChatUsernameResultPublicGroupsUnavailable' => 'CheckChatUsernameResult::PublicGroupsUnavailable',
594
- 'PushMessageContent' => 'PushMessageContent',
595
- 'pushMessageContentHidden' => 'PushMessageContent::Hidden',
596
- 'pushMessageContentAnimation' => 'PushMessageContent::Animation',
597
- 'pushMessageContentAudio' => 'PushMessageContent::Audio',
598
- 'pushMessageContentContact' => 'PushMessageContent::Contact',
599
- 'pushMessageContentContactRegistered' => 'PushMessageContent::ContactRegistered',
600
- 'pushMessageContentDocument' => 'PushMessageContent::Document',
601
- 'pushMessageContentGame' => 'PushMessageContent::Game',
602
- 'pushMessageContentGameScore' => 'PushMessageContent::GameScore',
603
- 'pushMessageContentInvoice' => 'PushMessageContent::Invoice',
604
- 'pushMessageContentLocation' => 'PushMessageContent::Location',
605
- 'pushMessageContentPhoto' => 'PushMessageContent::Photo',
606
- 'pushMessageContentPoll' => 'PushMessageContent::Poll',
607
- 'pushMessageContentScreenshotTaken' => 'PushMessageContent::ScreenshotTaken',
608
- 'pushMessageContentSticker' => 'PushMessageContent::Sticker',
609
- 'pushMessageContentText' => 'PushMessageContent::Text',
610
- 'pushMessageContentVideo' => 'PushMessageContent::Video',
611
- 'pushMessageContentVideoNote' => 'PushMessageContent::VideoNote',
612
- 'pushMessageContentVoiceNote' => 'PushMessageContent::VoiceNote',
613
- 'pushMessageContentBasicGroupChatCreate' => 'PushMessageContent::BasicGroupChatCreate',
614
- 'pushMessageContentChatAddMembers' => 'PushMessageContent::ChatAddMembers',
615
- 'pushMessageContentChatChangePhoto' => 'PushMessageContent::ChatChangePhoto',
616
- 'pushMessageContentChatChangeTitle' => 'PushMessageContent::ChatChangeTitle',
617
- 'pushMessageContentChatDeleteMember' => 'PushMessageContent::ChatDeleteMember',
618
- 'pushMessageContentChatJoinByLink' => 'PushMessageContent::ChatJoinByLink',
619
- 'pushMessageContentMessageForwards' => 'PushMessageContent::MessageForwards',
620
- 'pushMessageContentMediaAlbum' => 'PushMessageContent::MediaAlbum',
621
- 'NotificationType' => 'NotificationType',
622
- 'notificationTypeNewMessage' => 'NotificationType::NewMessage',
623
- 'notificationTypeNewSecretChat' => 'NotificationType::NewSecretChat',
624
- 'notificationTypeNewCall' => 'NotificationType::NewCall',
625
- 'notificationTypeNewPushMessage' => 'NotificationType::NewPushMessage',
626
- 'NotificationGroupType' => 'NotificationGroupType',
627
- 'notificationGroupTypeMessages' => 'NotificationGroupType::Messages',
628
- 'notificationGroupTypeMentions' => 'NotificationGroupType::Mentions',
629
- 'notificationGroupTypeSecretChat' => 'NotificationGroupType::SecretChat',
630
- 'notificationGroupTypeCalls' => 'NotificationGroupType::Calls',
631
- 'notification' => 'Notification',
632
- 'notificationGroup' => 'NotificationGroup',
633
- 'OptionValue' => 'OptionValue',
634
- 'optionValueBoolean' => 'OptionValue::Boolean',
635
- 'optionValueEmpty' => 'OptionValue::Empty',
636
- 'optionValueInteger' => 'OptionValue::Integer',
637
- 'optionValueString' => 'OptionValue::String',
638
- 'jsonObjectMember' => 'JsonObjectMember',
639
- 'JsonValue' => 'JsonValue',
640
- 'jsonValueNull' => 'JsonValue::Null',
641
- 'jsonValueBoolean' => 'JsonValue::Boolean',
642
- 'jsonValueNumber' => 'JsonValue::Number',
643
- 'jsonValueString' => 'JsonValue::String',
644
- 'jsonValueArray' => 'JsonValue::Array',
645
- 'jsonValueObject' => 'JsonValue::Object',
646
- 'UserPrivacySettingRule' => 'UserPrivacySettingRule',
647
- 'userPrivacySettingRuleAllowAll' => 'UserPrivacySettingRule::AllowAll',
648
- 'userPrivacySettingRuleAllowContacts' => 'UserPrivacySettingRule::AllowContacts',
649
- 'userPrivacySettingRuleAllowUsers' => 'UserPrivacySettingRule::AllowUsers',
650
- 'userPrivacySettingRuleAllowChatMembers' => 'UserPrivacySettingRule::AllowChatMembers',
651
- 'userPrivacySettingRuleRestrictAll' => 'UserPrivacySettingRule::RestrictAll',
652
- 'userPrivacySettingRuleRestrictContacts' => 'UserPrivacySettingRule::RestrictContacts',
653
- 'userPrivacySettingRuleRestrictUsers' => 'UserPrivacySettingRule::RestrictUsers',
654
- 'userPrivacySettingRuleRestrictChatMembers' => 'UserPrivacySettingRule::RestrictChatMembers',
655
- 'userPrivacySettingRules' => 'UserPrivacySettingRules',
656
- 'UserPrivacySetting' => 'UserPrivacySetting',
657
- 'userPrivacySettingShowStatus' => 'UserPrivacySetting::ShowStatus',
658
- 'userPrivacySettingShowProfilePhoto' => 'UserPrivacySetting::ShowProfilePhoto',
659
- 'userPrivacySettingShowLinkInForwardedMessages' => 'UserPrivacySetting::ShowLinkInForwardedMessages',
660
- 'userPrivacySettingShowPhoneNumber' => 'UserPrivacySetting::ShowPhoneNumber',
661
- 'userPrivacySettingAllowChatInvites' => 'UserPrivacySetting::AllowChatInvites',
662
- 'userPrivacySettingAllowCalls' => 'UserPrivacySetting::AllowCalls',
663
- 'userPrivacySettingAllowPeerToPeerCalls' => 'UserPrivacySetting::AllowPeerToPeerCalls',
664
- 'userPrivacySettingAllowFindingByPhoneNumber' => 'UserPrivacySetting::AllowFindingByPhoneNumber',
665
- 'accountTtl' => 'AccountTtl',
666
- 'session' => 'Session',
667
- 'sessions' => 'Sessions',
668
- 'connectedWebsite' => 'ConnectedWebsite',
669
- 'connectedWebsites' => 'ConnectedWebsites',
670
- 'ChatReportReason' => 'ChatReportReason',
671
- 'chatReportReasonSpam' => 'ChatReportReason::Spam',
672
- 'chatReportReasonViolence' => 'ChatReportReason::Violence',
673
- 'chatReportReasonPornography' => 'ChatReportReason::Pornography',
674
- 'chatReportReasonChildAbuse' => 'ChatReportReason::ChildAbuse',
675
- 'chatReportReasonCopyright' => 'ChatReportReason::Copyright',
676
- 'chatReportReasonUnrelatedLocation' => 'ChatReportReason::UnrelatedLocation',
677
- 'chatReportReasonCustom' => 'ChatReportReason::Custom',
678
- 'publicMessageLink' => 'PublicMessageLink',
679
- 'messageLinkInfo' => 'MessageLinkInfo',
680
- 'filePart' => 'FilePart',
681
- 'FileType' => 'FileType',
682
- 'fileTypeNone' => 'FileType::None',
683
- 'fileTypeAnimation' => 'FileType::Animation',
684
- 'fileTypeAudio' => 'FileType::Audio',
685
- 'fileTypeDocument' => 'FileType::Document',
686
- 'fileTypePhoto' => 'FileType::Photo',
687
- 'fileTypeProfilePhoto' => 'FileType::ProfilePhoto',
688
- 'fileTypeSecret' => 'FileType::Secret',
689
- 'fileTypeSecretThumbnail' => 'FileType::SecretThumbnail',
690
- 'fileTypeSecure' => 'FileType::Secure',
691
- 'fileTypeSticker' => 'FileType::Sticker',
692
- 'fileTypeThumbnail' => 'FileType::Thumbnail',
693
- 'fileTypeUnknown' => 'FileType::Unknown',
694
- 'fileTypeVideo' => 'FileType::Video',
695
- 'fileTypeVideoNote' => 'FileType::VideoNote',
696
- 'fileTypeVoiceNote' => 'FileType::VoiceNote',
697
- 'fileTypeWallpaper' => 'FileType::Wallpaper',
698
- 'storageStatisticsByFileType' => 'StorageStatisticsByFileType',
699
- 'storageStatisticsByChat' => 'StorageStatisticsByChat',
700
- 'storageStatistics' => 'StorageStatistics',
701
- 'storageStatisticsFast' => 'StorageStatisticsFast',
702
- 'databaseStatistics' => 'DatabaseStatistics',
703
- 'NetworkType' => 'NetworkType',
704
- 'networkTypeNone' => 'NetworkType::None',
705
- 'networkTypeMobile' => 'NetworkType::Mobile',
706
- 'networkTypeMobileRoaming' => 'NetworkType::MobileRoaming',
707
- 'networkTypeWiFi' => 'NetworkType::WiFi',
708
- 'networkTypeOther' => 'NetworkType::Other',
709
- 'NetworkStatisticsEntry' => 'NetworkStatisticsEntry',
710
- 'networkStatisticsEntryFile' => 'NetworkStatisticsEntry::File',
711
- 'networkStatisticsEntryCall' => 'NetworkStatisticsEntry::Call',
712
- 'networkStatistics' => 'NetworkStatistics',
713
- 'autoDownloadSettings' => 'AutoDownloadSettings',
714
- 'autoDownloadSettingsPresets' => 'AutoDownloadSettingsPresets',
715
- 'ConnectionState' => 'ConnectionState',
716
- 'connectionStateWaitingForNetwork' => 'ConnectionState::WaitingForNetwork',
717
- 'connectionStateConnectingToProxy' => 'ConnectionState::ConnectingToProxy',
718
- 'connectionStateConnecting' => 'ConnectionState::Connecting',
719
- 'connectionStateUpdating' => 'ConnectionState::Updating',
720
- 'connectionStateReady' => 'ConnectionState::Ready',
721
- 'TopChatCategory' => 'TopChatCategory',
722
- 'topChatCategoryUsers' => 'TopChatCategory::Users',
723
- 'topChatCategoryBots' => 'TopChatCategory::Bots',
724
- 'topChatCategoryGroups' => 'TopChatCategory::Groups',
725
- 'topChatCategoryChannels' => 'TopChatCategory::Channels',
726
- 'topChatCategoryInlineBots' => 'TopChatCategory::InlineBots',
727
- 'topChatCategoryCalls' => 'TopChatCategory::Calls',
728
- 'topChatCategoryForwardChats' => 'TopChatCategory::ForwardChats',
729
- 'TMeUrlType' => 'TMeUrlType',
730
- 'tMeUrlTypeUser' => 'TMeUrlType::User',
731
- 'tMeUrlTypeSupergroup' => 'TMeUrlType::Supergroup',
732
- 'tMeUrlTypeChatInvite' => 'TMeUrlType::ChatInvite',
733
- 'tMeUrlTypeStickerSet' => 'TMeUrlType::StickerSet',
734
- 'tMeUrl' => 'TMeUrl',
735
- 'tMeUrls' => 'TMeUrls',
736
- 'count' => 'Count',
737
- 'text' => 'Text',
738
- 'seconds' => 'Seconds',
739
- 'deepLinkInfo' => 'DeepLinkInfo',
740
- 'TextParseMode' => 'TextParseMode',
741
- 'textParseModeMarkdown' => 'TextParseMode::Markdown',
742
- 'textParseModeHTML' => 'TextParseMode::HTML',
743
- 'ProxyType' => 'ProxyType',
744
- 'proxyTypeSocks5' => 'ProxyType::Socks5',
745
- 'proxyTypeHttp' => 'ProxyType::Http',
746
- 'proxyTypeMtproto' => 'ProxyType::Mtproto',
747
- 'proxy' => 'Proxy',
748
- 'proxies' => 'Proxies',
749
- 'inputSticker' => 'InputSticker',
750
- 'Update' => 'Update',
751
- 'updateAuthorizationState' => 'Update::AuthorizationState',
752
- 'updateNewMessage' => 'Update::NewMessage',
753
- 'updateMessageSendAcknowledged' => 'Update::MessageSendAcknowledged',
754
- 'updateMessageSendSucceeded' => 'Update::MessageSendSucceeded',
755
- 'updateMessageSendFailed' => 'Update::MessageSendFailed',
756
- 'updateMessageContent' => 'Update::MessageContent',
757
- 'updateMessageEdited' => 'Update::MessageEdited',
758
- 'updateMessageViews' => 'Update::MessageViews',
759
- 'updateMessageContentOpened' => 'Update::MessageContentOpened',
760
- 'updateMessageMentionRead' => 'Update::MessageMentionRead',
761
- 'updateMessageLiveLocationViewed' => 'Update::MessageLiveLocationViewed',
762
- 'updateNewChat' => 'Update::NewChat',
763
- 'updateChatChatList' => 'Update::ChatChatList',
764
- 'updateChatTitle' => 'Update::ChatTitle',
765
- 'updateChatPhoto' => 'Update::ChatPhoto',
766
- 'updateChatPermissions' => 'Update::ChatPermissions',
767
- 'updateChatLastMessage' => 'Update::ChatLastMessage',
768
- 'updateChatOrder' => 'Update::ChatOrder',
769
- 'updateChatIsPinned' => 'Update::ChatIsPinned',
770
- 'updateChatIsMarkedAsUnread' => 'Update::ChatIsMarkedAsUnread',
771
- 'updateChatIsSponsored' => 'Update::ChatIsSponsored',
772
- 'updateChatHasScheduledMessages' => 'Update::ChatHasScheduledMessages',
773
- 'updateChatDefaultDisableNotification' => 'Update::ChatDefaultDisableNotification',
774
- 'updateChatReadInbox' => 'Update::ChatReadInbox',
775
- 'updateChatReadOutbox' => 'Update::ChatReadOutbox',
776
- 'updateChatUnreadMentionCount' => 'Update::ChatUnreadMentionCount',
777
- 'updateChatNotificationSettings' => 'Update::ChatNotificationSettings',
778
- 'updateScopeNotificationSettings' => 'Update::ScopeNotificationSettings',
779
- 'updateChatActionBar' => 'Update::ChatActionBar',
780
- 'updateChatPinnedMessage' => 'Update::ChatPinnedMessage',
781
- 'updateChatReplyMarkup' => 'Update::ChatReplyMarkup',
782
- 'updateChatDraftMessage' => 'Update::ChatDraftMessage',
783
- 'updateChatOnlineMemberCount' => 'Update::ChatOnlineMemberCount',
784
- 'updateNotification' => 'Update::Notification',
785
- 'updateNotificationGroup' => 'Update::NotificationGroup',
786
- 'updateActiveNotifications' => 'Update::ActiveNotifications',
787
- 'updateHavePendingNotifications' => 'Update::HavePendingNotifications',
788
- 'updateDeleteMessages' => 'Update::DeleteMessages',
789
- 'updateUserChatAction' => 'Update::UserChatAction',
790
- 'updateUserStatus' => 'Update::UserStatus',
791
- 'updateUser' => 'Update::User',
792
- 'updateBasicGroup' => 'Update::BasicGroup',
793
- 'updateSupergroup' => 'Update::Supergroup',
794
- 'updateSecretChat' => 'Update::SecretChat',
795
- 'updateUserFullInfo' => 'Update::UserFullInfo',
796
- 'updateBasicGroupFullInfo' => 'Update::BasicGroupFullInfo',
797
- 'updateSupergroupFullInfo' => 'Update::SupergroupFullInfo',
798
- 'updateServiceNotification' => 'Update::ServiceNotification',
799
- 'updateFile' => 'Update::File',
800
- 'updateFileGenerationStart' => 'Update::FileGenerationStart',
801
- 'updateFileGenerationStop' => 'Update::FileGenerationStop',
802
- 'updateCall' => 'Update::Call',
803
- 'updateUserPrivacySettingRules' => 'Update::UserPrivacySettingRules',
804
- 'updateUnreadMessageCount' => 'Update::UnreadMessageCount',
805
- 'updateUnreadChatCount' => 'Update::UnreadChatCount',
806
- 'updateOption' => 'Update::Option',
807
- 'updateInstalledStickerSets' => 'Update::InstalledStickerSets',
808
- 'updateTrendingStickerSets' => 'Update::TrendingStickerSets',
809
- 'updateRecentStickers' => 'Update::RecentStickers',
810
- 'updateFavoriteStickers' => 'Update::FavoriteStickers',
811
- 'updateSavedAnimations' => 'Update::SavedAnimations',
812
- 'updateSelectedBackground' => 'Update::SelectedBackground',
813
- 'updateLanguagePackStrings' => 'Update::LanguagePackStrings',
814
- 'updateConnectionState' => 'Update::ConnectionState',
815
- 'updateTermsOfService' => 'Update::TermsOfService',
816
- 'updateUsersNearby' => 'Update::UsersNearby',
817
- 'updateNewInlineQuery' => 'Update::NewInlineQuery',
818
- 'updateNewChosenInlineResult' => 'Update::NewChosenInlineResult',
819
- 'updateNewCallbackQuery' => 'Update::NewCallbackQuery',
820
- 'updateNewInlineCallbackQuery' => 'Update::NewInlineCallbackQuery',
821
- 'updateNewShippingQuery' => 'Update::NewShippingQuery',
822
- 'updateNewPreCheckoutQuery' => 'Update::NewPreCheckoutQuery',
823
- 'updateNewCustomEvent' => 'Update::NewCustomEvent',
824
- 'updateNewCustomQuery' => 'Update::NewCustomQuery',
825
- 'updatePoll' => 'Update::Poll',
826
- 'updates' => 'Updates',
827
- 'LogStream' => 'LogStream',
828
- 'logStreamDefault' => 'LogStream::Default',
829
- 'logStreamFile' => 'LogStream::File',
830
- 'logStreamEmpty' => 'LogStream::Empty',
831
- 'logVerbosityLevel' => 'LogVerbosityLevel',
832
- 'logTags' => 'LogTags'
833
- }.freeze
834
-
835
- module_function
836
-
837
- # Recursively wraps a hash into typed classes
838
- def wrap(object)
839
- # Wrapping each entry in array
840
- if object.kind_of?(::Array)
841
- object.map { |o| wrap(o) }
842
- elsif object.kind_of?(::Hash)
843
- type = object.delete('@type')
844
-
845
- object.each do |key, val|
846
- if val.respond_to?(:each)
847
- object[key] = wrap(val)
848
- end
849
- end
850
-
851
- unless type
852
- return object
853
- end
854
-
855
- if (klass = LOOKUP_TABLE[type])
856
- const_get(klass).new(object)
857
- else
858
- raise ArgumentError.new("Can't find class for #{type}")
859
- end
860
- else
861
- object
862
- end
863
- end
864
-
865
- # Simple implementation for internal use only.
866
- def camelize(str)
867
- str.gsub(/(?:_|(\/)|^)([a-z\d]*)/i) { "#{$1}#{$2.capitalize}" }
868
- end
869
-
870
- %w[
871
- account_ttl
872
- address
873
- animation
874
- animations
875
- audio
876
- authentication_code_info
877
- authentication_code_type
878
- authorization_state
879
- auto_download_settings
880
- auto_download_settings_presets
881
- background
882
- background_fill
883
- background_type
884
- backgrounds
885
- base
886
- basic_group
887
- basic_group_full_info
888
- bot_command
889
- bot_info
890
- call
891
- call_connection
892
- call_discard_reason
893
- call_id
894
- call_problem
895
- call_protocol
896
- call_state
897
- callback_query_answer
898
- callback_query_payload
899
- can_transfer_ownership_result
900
- chat
901
- chat_action
902
- chat_action_bar
903
- chat_administrator
904
- chat_administrators
905
- chat_event
906
- chat_event_action
907
- chat_event_log_filters
908
- chat_events
909
- chat_invite_link
910
- chat_invite_link_info
911
- chat_list
912
- chat_location
913
- chat_member
914
- chat_member_status
915
- chat_members
916
- chat_members_filter
917
- chat_nearby
918
- chat_notification_settings
919
- chat_permissions
920
- chat_photo
921
- chat_report_reason
922
- chat_type
923
- chats
924
- chats_nearby
925
- check_chat_username_result
926
- connected_website
927
- connected_websites
928
- connection_state
929
- contact
930
- count
931
- custom_request_result
932
- database_statistics
933
- date
934
- dated_file
935
- deep_link_info
936
- device_token
937
- document
938
- draft_message
939
- email_address_authentication_code_info
940
- emojis
941
- encrypted_credentials
942
- encrypted_passport_element
943
- error
944
- file
945
- file_part
946
- file_type
947
- formatted_text
948
- found_messages
949
- game
950
- game_high_score
951
- game_high_scores
952
- hashtags
953
- http_url
954
- identity_document
955
- imported_contacts
956
- inline_keyboard_button
957
- inline_keyboard_button_type
958
- inline_query_result
959
- inline_query_results
960
- input_background
961
- input_credentials
962
- input_file
963
- input_identity_document
964
- input_inline_query_result
965
- input_message_content
966
- input_passport_element
967
- input_passport_element_error
968
- input_passport_element_error_source
969
- input_personal_document
970
- input_sticker
971
- input_thumbnail
972
- invoice
973
- json_object_member
974
- json_value
975
- keyboard_button
976
- keyboard_button_type
977
- labeled_price_part
978
- language_pack_info
979
- language_pack_string
980
- language_pack_string_value
981
- language_pack_strings
982
- local_file
983
- localization_target_info
984
- location
985
- log_stream
986
- log_tags
987
- log_verbosity_level
988
- login_url_info
989
- mask_point
990
- mask_position
991
- message
992
- message_content
993
- message_forward_info
994
- message_forward_origin
995
- message_link_info
996
- message_scheduling_state
997
- message_sending_state
998
- messages
999
- minithumbnail
1000
- network_statistics
1001
- network_statistics_entry
1002
- network_type
1003
- notification
1004
- notification_group
1005
- notification_group_type
1006
- notification_settings_scope
1007
- notification_type
1008
- ok
1009
- option_value
1010
- order_info
1011
- page_block
1012
- page_block_caption
1013
- page_block_horizontal_alignment
1014
- page_block_list_item
1015
- page_block_related_article
1016
- page_block_table_cell
1017
- page_block_vertical_alignment
1018
- passport_authorization_form
1019
- passport_element
1020
- passport_element_error
1021
- passport_element_error_source
1022
- passport_element_type
1023
- passport_elements
1024
- passport_elements_with_errors
1025
- passport_required_element
1026
- passport_suitable_element
1027
- password_state
1028
- payment_form
1029
- payment_receipt
1030
- payment_result
1031
- payments_provider_stripe
1032
- personal_details
1033
- personal_document
1034
- phone_number_authentication_settings
1035
- photo
1036
- photo_size
1037
- poll
1038
- poll_option
1039
- profile_photo
1040
- proxies
1041
- proxy
1042
- proxy_type
1043
- public_chat_type
1044
- public_message_link
1045
- push_message_content
1046
- push_receiver_id
1047
- recovery_email_address
1048
- remote_file
1049
- reply_markup
1050
- rich_text
1051
- saved_credentials
1052
- scope_notification_settings
1053
- search_messages_filter
1054
- seconds
1055
- secret_chat
1056
- secret_chat_state
1057
- send_message_options
1058
- session
1059
- sessions
1060
- shipping_option
1061
- sticker
1062
- sticker_set
1063
- sticker_set_info
1064
- sticker_sets
1065
- stickers
1066
- storage_statistics
1067
- storage_statistics_by_chat
1068
- storage_statistics_by_file_type
1069
- storage_statistics_fast
1070
- supergroup
1071
- supergroup_full_info
1072
- supergroup_members_filter
1073
- t_me_url
1074
- t_me_url_type
1075
- t_me_urls
1076
- tdlib_parameters
1077
- temporary_password_state
1078
- terms_of_service
1079
- text
1080
- text_entities
1081
- text_entity
1082
- text_entity_type
1083
- text_parse_mode
1084
- ton_lite_server_response
1085
- ton_wallet_password_salt
1086
- top_chat_category
1087
- update
1088
- updates
1089
- user
1090
- user_full_info
1091
- user_privacy_setting
1092
- user_privacy_setting_rule
1093
- user_privacy_setting_rules
1094
- user_profile_photo
1095
- user_profile_photos
1096
- user_status
1097
- user_type
1098
- users
1099
- validated_order_info
1100
- venue
1101
- video
1102
- video_note
1103
- voice_note
1104
- web_page
1105
- web_page_instant_view
1106
- ].each do |type|
1107
- autoload camelize(type), "tdlib/types/#{type}"
1108
- end
1109
- end