Module: TD::Types
- Defined in:
- lib/tdlib/types.rb,
lib/tdlib/types/ok.rb,
lib/tdlib/types/base.rb,
lib/tdlib/types/call.rb,
lib/tdlib/types/chat.rb,
lib/tdlib/types/date.rb,
lib/tdlib/types/file.rb,
lib/tdlib/types/game.rb,
lib/tdlib/types/poll.rb,
lib/tdlib/types/text.rb,
lib/tdlib/types/user.rb,
lib/tdlib/types/audio.rb,
lib/tdlib/types/chats.rb,
lib/tdlib/types/count.rb,
lib/tdlib/types/error.rb,
lib/tdlib/types/photo.rb,
lib/tdlib/types/point.rb,
lib/tdlib/types/proxy.rb,
lib/tdlib/types/users.rb,
lib/tdlib/types/venue.rb,
lib/tdlib/types/video.rb,
lib/tdlib/types/emojis.rb,
lib/tdlib/types/update.rb,
lib/tdlib/types/address.rb,
lib/tdlib/types/call_id.rb,
lib/tdlib/types/contact.rb,
lib/tdlib/types/invoice.rb,
lib/tdlib/types/message.rb,
lib/tdlib/types/proxies.rb,
lib/tdlib/types/seconds.rb,
lib/tdlib/types/session.rb,
lib/tdlib/types/sticker.rb,
lib/tdlib/types/updates.rb,
lib/tdlib/types/bot_info.rb,
lib/tdlib/types/document.rb,
lib/tdlib/types/hashtags.rb,
lib/tdlib/types/http_url.rb,
lib/tdlib/types/location.rb,
lib/tdlib/types/log_tags.rb,
lib/tdlib/types/messages.rb,
lib/tdlib/types/sessions.rb,
lib/tdlib/types/stickers.rb,
lib/tdlib/types/t_me_url.rb,
lib/tdlib/types/web_page.rb,
lib/tdlib/types/animation.rb,
lib/tdlib/types/chat_list.rb,
lib/tdlib/types/chat_type.rb,
lib/tdlib/types/countries.rb,
lib/tdlib/types/file_part.rb,
lib/tdlib/types/file_type.rb,
lib/tdlib/types/poll_type.rb,
lib/tdlib/types/rich_text.rb,
lib/tdlib/types/t_me_urls.rb,
lib/tdlib/types/thumbnail.rb,
lib/tdlib/types/user_type.rb,
lib/tdlib/types/animations.rb,
lib/tdlib/types/background.rb,
lib/tdlib/types/call_state.rb,
lib/tdlib/types/chat_event.rb,
lib/tdlib/types/chat_lists.rb,
lib/tdlib/types/chat_photo.rb,
lib/tdlib/types/date_range.rb,
lib/tdlib/types/dated_file.rb,
lib/tdlib/types/group_call.rb,
lib/tdlib/types/input_file.rb,
lib/tdlib/types/json_value.rb,
lib/tdlib/types/local_file.rb,
lib/tdlib/types/log_stream.rb,
lib/tdlib/types/mask_point.rb,
lib/tdlib/types/order_info.rb,
lib/tdlib/types/page_block.rb,
lib/tdlib/types/photo_size.rb,
lib/tdlib/types/proxy_type.rb,
lib/tdlib/types/supergroup.rb,
lib/tdlib/types/video_note.rb,
lib/tdlib/types/voice_chat.rb,
lib/tdlib/types/voice_note.rb,
lib/tdlib/types/account_ttl.rb,
lib/tdlib/types/backgrounds.rb,
lib/tdlib/types/basic_group.rb,
lib/tdlib/types/bot_command.rb,
lib/tdlib/types/call_server.rb,
lib/tdlib/types/chat_action.rb,
lib/tdlib/types/chat_events.rb,
lib/tdlib/types/chat_filter.rb,
lib/tdlib/types/chat_member.rb,
lib/tdlib/types/chat_nearby.rb,
lib/tdlib/types/chat_photos.rb,
lib/tdlib/types/chat_source.rb,
lib/tdlib/types/poll_option.rb,
lib/tdlib/types/remote_file.rb,
lib/tdlib/types/rich_text/s.rb,
lib/tdlib/types/secret_chat.rb,
lib/tdlib/types/sticker_set.rb,
lib/tdlib/types/text_entity.rb,
lib/tdlib/types/update/call.rb,
lib/tdlib/types/update/file.rb,
lib/tdlib/types/update/poll.rb,
lib/tdlib/types/update/user.rb,
lib/tdlib/types/user_status.rb,
lib/tdlib/types/call_problem.rb,
lib/tdlib/types/chat_members.rb,
lib/tdlib/types/chats_nearby.rb,
lib/tdlib/types/country_info.rb,
lib/tdlib/types/device_token.rb,
lib/tdlib/types/message_link.rb,
lib/tdlib/types/network_type.rb,
lib/tdlib/types/notification.rb,
lib/tdlib/types/option_value.rb,
lib/tdlib/types/payment_form.rb,
lib/tdlib/types/reply_markup.rb,
lib/tdlib/types/sticker_sets.rb,
lib/tdlib/types/call_protocol.rb,
lib/tdlib/types/chat_location.rb,
lib/tdlib/types/chat_position.rb,
lib/tdlib/types/dice_stickers.rb,
lib/tdlib/types/draft_message.rb,
lib/tdlib/types/group_call_id.rb,
lib/tdlib/types/input_file/id.rb,
lib/tdlib/types/input_sticker.rb,
lib/tdlib/types/mask_position.rb,
lib/tdlib/types/minithumbnail.rb,
lib/tdlib/types/profile_photo.rb,
lib/tdlib/types/rich_text/url.rb,
lib/tdlib/types/t_me_url_type.rb,
lib/tdlib/types/text_entities.rb,
lib/tdlib/types/update/option.rb,
lib/tdlib/types/user_type/bot.rb,
lib/tdlib/types/bank_card_info.rb,
lib/tdlib/types/chat_list/main.rb,
lib/tdlib/types/deep_link_info.rb,
lib/tdlib/types/file_type/none.rb,
lib/tdlib/types/formatted_text.rb,
lib/tdlib/types/found_messages.rb,
lib/tdlib/types/login_url_info.rb,
lib/tdlib/types/message_sender.rb,
lib/tdlib/types/page_block/map.rb,
lib/tdlib/types/password_state.rb,
lib/tdlib/types/payment_result.rb,
lib/tdlib/types/poll_type/quiz.rb,
lib/tdlib/types/rich_text/bold.rb,
lib/tdlib/types/rich_text/icon.rb,
lib/tdlib/types/user_full_info.rb,
lib/tdlib/types/background_fill.rb,
lib/tdlib/types/background_type.rb,
lib/tdlib/types/chat_action_bar.rb,
lib/tdlib/types/chat_photo_info.rb,
lib/tdlib/types/chat_statistics.rb,
lib/tdlib/types/file_type/audio.rb,
lib/tdlib/types/file_type/photo.rb,
lib/tdlib/types/file_type/video.rb,
lib/tdlib/types/game_high_score.rb,
lib/tdlib/types/input_thumbnail.rb,
lib/tdlib/types/json_value/null.rb,
lib/tdlib/types/keyboard_button.rb,
lib/tdlib/types/log_stream/file.rb,
lib/tdlib/types/mask_point/chin.rb,
lib/tdlib/types/mask_point/eyes.rb,
lib/tdlib/types/message_content.rb,
lib/tdlib/types/message_senders.rb,
lib/tdlib/types/page_block/list.rb,
lib/tdlib/types/payment_receipt.rb,
lib/tdlib/types/proxy_type/http.rb,
lib/tdlib/types/rich_text/fixed.rb,
lib/tdlib/types/rich_text/plain.rb,
lib/tdlib/types/shipping_option.rb,
lib/tdlib/types/text_parse_mode.rb,
lib/tdlib/types/update/new_chat.rb,
lib/tdlib/types/call_server_type.rb,
lib/tdlib/types/call_state/error.rb,
lib/tdlib/types/call_state/ready.rb,
lib/tdlib/types/chat_filter_info.rb,
lib/tdlib/types/chat_invite_link.rb,
lib/tdlib/types/chat_list/filter.rb,
lib/tdlib/types/chat_permissions.rb,
lib/tdlib/types/chat_type/secret.rb,
lib/tdlib/types/connection_state.rb,
lib/tdlib/types/file_type/secret.rb,
lib/tdlib/types/file_type/secure.rb,
lib/tdlib/types/game_high_scores.rb,
lib/tdlib/types/input_background.rb,
lib/tdlib/types/input_chat_photo.rb,
lib/tdlib/types/input_file/local.rb,
lib/tdlib/types/json_value/array.rb,
lib/tdlib/types/log_stream/empty.rb,
lib/tdlib/types/mask_point/mouth.rb,
lib/tdlib/types/page_block/audio.rb,
lib/tdlib/types/page_block/cover.rb,
lib/tdlib/types/page_block/photo.rb,
lib/tdlib/types/page_block/table.rb,
lib/tdlib/types/page_block/title.rb,
lib/tdlib/types/page_block/video.rb,
lib/tdlib/types/passport_element.rb,
lib/tdlib/types/personal_details.rb,
lib/tdlib/types/public_chat_type.rb,
lib/tdlib/types/push_receiver_id.rb,
lib/tdlib/types/rich_text/anchor.rb,
lib/tdlib/types/rich_text/italic.rb,
lib/tdlib/types/rich_text/marked.rb,
lib/tdlib/types/sticker_set_info.rb,
lib/tdlib/types/suggested_action.rb,
lib/tdlib/types/tdlib_parameters.rb,
lib/tdlib/types/terms_of_service.rb,
lib/tdlib/types/text_entity_type.rb,
lib/tdlib/types/thumbnail_format.rb,
lib/tdlib/types/call_problem/echo.rb,
lib/tdlib/types/chat_event_action.rb,
lib/tdlib/types/chat_invite_links.rb,
lib/tdlib/types/chat_list/archive.rb,
lib/tdlib/types/chat_type/private.rb,
lib/tdlib/types/connected_website.rb,
lib/tdlib/types/file_type/sticker.rb,
lib/tdlib/types/file_type/unknown.rb,
lib/tdlib/types/identity_document.rb,
lib/tdlib/types/imported_contacts.rb,
lib/tdlib/types/input_credentials.rb,
lib/tdlib/types/input_file/remote.rb,
lib/tdlib/types/json_value/number.rb,
lib/tdlib/types/json_value/object.rb,
lib/tdlib/types/json_value/string.rb,
lib/tdlib/types/message_file_type.rb,
lib/tdlib/types/message_link_info.rb,
lib/tdlib/types/network_type/none.rb,
lib/tdlib/types/notification_type.rb,
lib/tdlib/types/page_block/anchor.rb,
lib/tdlib/types/page_block/footer.rb,
lib/tdlib/types/page_block/header.rb,
lib/tdlib/types/page_block/kicker.rb,
lib/tdlib/types/passport_elements.rb,
lib/tdlib/types/personal_document.rb,
lib/tdlib/types/phone_number_info.rb,
lib/tdlib/types/poll_type/regular.rb,
lib/tdlib/types/proxy_type/socks5.rb,
lib/tdlib/types/saved_credentials.rb,
lib/tdlib/types/secret_chat_state.rb,
lib/tdlib/types/statistical_graph.rb,
lib/tdlib/types/statistical_value.rb,
lib/tdlib/types/top_chat_category.rb,
lib/tdlib/types/update/chat_photo.rb,
lib/tdlib/types/update/chat_title.rb,
lib/tdlib/types/update/group_call.rb,
lib/tdlib/types/update/supergroup.rb,
lib/tdlib/types/user_status/empty.rb,
lib/tdlib/types/user_type/deleted.rb,
lib/tdlib/types/user_type/regular.rb,
lib/tdlib/types/user_type/unknown.rb,
lib/tdlib/types/call_problem/noise.rb,
lib/tdlib/types/call_state/pending.rb,
lib/tdlib/types/chat_action/cancel.rb,
lib/tdlib/types/chat_action/typing.rb,
lib/tdlib/types/chat_administrator.rb,
lib/tdlib/types/chat_member_status.rb,
lib/tdlib/types/chat_report_reason.rb,
lib/tdlib/types/closed_vector_path.rb,
lib/tdlib/types/connected_websites.rb,
lib/tdlib/types/file_type/document.rb,
lib/tdlib/types/group_call_payload.rb,
lib/tdlib/types/json_object_member.rb,
lib/tdlib/types/json_value/boolean.rb,
lib/tdlib/types/labeled_price_part.rb,
lib/tdlib/types/language_pack_info.rb,
lib/tdlib/types/log_stream/default.rb,
lib/tdlib/types/message_reply_info.rb,
lib/tdlib/types/message_statistics.rb,
lib/tdlib/types/network_statistics.rb,
lib/tdlib/types/network_type/other.rb,
lib/tdlib/types/network_type/wi_fi.rb,
lib/tdlib/types/notification_group.rb,
lib/tdlib/types/option_value/empty.rb,
lib/tdlib/types/page_block/collage.rb,
lib/tdlib/types/page_block/details.rb,
lib/tdlib/types/page_block/divider.rb,
lib/tdlib/types/page_block_caption.rb,
lib/tdlib/types/payment_form_theme.rb,
lib/tdlib/types/proxy_type/mtproto.rb,
lib/tdlib/types/storage_statistics.rb,
lib/tdlib/types/t_me_url_type/user.rb,
lib/tdlib/types/update/basic_group.rb,
lib/tdlib/types/update/chat_member.rb,
lib/tdlib/types/update/dice_emojis.rb,
lib/tdlib/types/update/new_message.rb,
lib/tdlib/types/update/poll_answer.rb,
lib/tdlib/types/update/secret_chat.rb,
lib/tdlib/types/update/sticker_set.rb,
lib/tdlib/types/update/user_status.rb,
lib/tdlib/types/user_status/online.rb,
lib/tdlib/types/animated_chat_photo.rb,
lib/tdlib/types/authorization_state.rb,
lib/tdlib/types/call_discard_reason.rb,
lib/tdlib/types/chat_administrators.rb,
lib/tdlib/types/chat_members_filter.rb,
lib/tdlib/types/database_statistics.rb,
lib/tdlib/types/file_type/animation.rb,
lib/tdlib/types/file_type/thumbnail.rb,
lib/tdlib/types/file_type/wallpaper.rb,
lib/tdlib/types/inline_query_result.rb,
lib/tdlib/types/log_verbosity_level.rb,
lib/tdlib/types/login_url_info/open.rb,
lib/tdlib/types/mask_point/forehead.rb,
lib/tdlib/types/message_sender/chat.rb,
lib/tdlib/types/message_sender/user.rb,
lib/tdlib/types/message_thread_info.rb,
lib/tdlib/types/network_type/mobile.rb,
lib/tdlib/types/option_value/string.rb,
lib/tdlib/types/page_block/embedded.rb,
lib/tdlib/types/page_block/subtitle.rb,
lib/tdlib/types/rich_text/reference.rb,
lib/tdlib/types/rich_text/subscript.rb,
lib/tdlib/types/rich_text/underline.rb,
lib/tdlib/types/update/chat_filters.rb,
lib/tdlib/types/update/notification.rb,
lib/tdlib/types/update/users_nearby.rb,
lib/tdlib/types/user_status/offline.rb,
lib/tdlib/types/vector_path_command.rb,
lib/tdlib/types/background_type/fill.rb,
lib/tdlib/types/call_problem/dropped.rb,
lib/tdlib/types/call_state/discarded.rb,
lib/tdlib/types/chat_type/supergroup.rb,
lib/tdlib/types/file_type/video_note.rb,
lib/tdlib/types/file_type/voice_note.rb,
lib/tdlib/types/inline_query_results.rb,
lib/tdlib/types/input_file/generated.rb,
lib/tdlib/types/input_sticker/static.rb,
lib/tdlib/types/keyboard_button_type.rb,
lib/tdlib/types/language_pack_string.rb,
lib/tdlib/types/message_content/call.rb,
lib/tdlib/types/message_content/dice.rb,
lib/tdlib/types/message_content/game.rb,
lib/tdlib/types/message_content/poll.rb,
lib/tdlib/types/message_content/text.rb,
lib/tdlib/types/message_copy_options.rb,
lib/tdlib/types/message_forward_info.rb,
lib/tdlib/types/message_send_options.rb,
lib/tdlib/types/option_value/boolean.rb,
lib/tdlib/types/option_value/integer.rb,
lib/tdlib/types/page_block/animation.rb,
lib/tdlib/types/page_block/chat_link.rb,
lib/tdlib/types/page_block/paragraph.rb,
lib/tdlib/types/page_block/slideshow.rb,
lib/tdlib/types/page_block/subheader.rb,
lib/tdlib/types/page_block_list_item.rb,
lib/tdlib/types/push_message_content.rb,
lib/tdlib/types/supergroup_full_info.rb,
lib/tdlib/types/text_entity_type/pre.rb,
lib/tdlib/types/text_entity_type/url.rb,
lib/tdlib/types/text_parse_mode/html.rb,
lib/tdlib/types/thumbnail_format/gif.rb,
lib/tdlib/types/thumbnail_format/png.rb,
lib/tdlib/types/thumbnail_format/tgs.rb,
lib/tdlib/types/update/chat_position.rb,
lib/tdlib/types/user_privacy_setting.rb,
lib/tdlib/types/user_status/recently.rb,
lib/tdlib/types/validated_order_info.rb,
lib/tdlib/types/background_fill/solid.rb,
lib/tdlib/types/basic_group_full_info.rb,
lib/tdlib/types/call_state/hanging_up.rb,
lib/tdlib/types/callback_query_answer.rb,
lib/tdlib/types/chat_invite_link_info.rb,
lib/tdlib/types/chat_type/basic_group.rb,
lib/tdlib/types/custom_request_result.rb,
lib/tdlib/types/device_token/web_push.rb,
lib/tdlib/types/dice_stickers/regular.rb,
lib/tdlib/types/encrypted_credentials.rb,
lib/tdlib/types/input_credentials/new.rb,
lib/tdlib/types/input_message_content.rb,
lib/tdlib/types/language_pack_strings.rb,
lib/tdlib/types/message_content/audio.rb,
lib/tdlib/types/message_content/photo.rb,
lib/tdlib/types/message_content/venue.rb,
lib/tdlib/types/message_content/video.rb,
lib/tdlib/types/message_sending_state.rb,
lib/tdlib/types/page_block/pull_quote.rb,
lib/tdlib/types/page_block/voice_note.rb,
lib/tdlib/types/page_block_table_cell.rb,
lib/tdlib/types/passport_element_type.rb,
lib/tdlib/types/rich_text/anchor_link.rb,
lib/tdlib/types/rich_text/superscript.rb,
lib/tdlib/types/text_entity_type/bold.rb,
lib/tdlib/types/text_entity_type/code.rb,
lib/tdlib/types/thumbnail_format/jpeg.rb,
lib/tdlib/types/thumbnail_format/webp.rb,
lib/tdlib/types/update/message_edited.rb,
lib/tdlib/types/update/user_full_info.rb,
lib/tdlib/types/user_status/last_week.rb,
lib/tdlib/types/web_page_instant_view.rb,
lib/tdlib/types/auto_download_settings.rb,
lib/tdlib/types/callback_query_payload.rb,
lib/tdlib/types/chat_event_log_filters.rb,
lib/tdlib/types/chat_invite_link_count.rb,
lib/tdlib/types/connection_state/ready.rb,
lib/tdlib/types/group_call_participant.rb,
lib/tdlib/types/inline_keyboard_button.rb,
lib/tdlib/types/input_background/local.rb,
lib/tdlib/types/input_passport_element.rb,
lib/tdlib/types/input_sticker/animated.rb,
lib/tdlib/types/message_forward_origin.rb,
lib/tdlib/types/page_block/author_date.rb,
lib/tdlib/types/page_block/block_quote.rb,
lib/tdlib/types/passport_element_error.rb,
lib/tdlib/types/recovery_email_address.rb,
lib/tdlib/types/rich_text/phone_number.rb,
lib/tdlib/types/search_messages_filter.rb,
lib/tdlib/types/statistical_graph/data.rb,
lib/tdlib/types/thumbnail_format/mpeg4.rb,
lib/tdlib/types/top_chat_category/bots.rb,
lib/tdlib/types/update/chat_action_bar.rb,
lib/tdlib/types/update/chat_is_blocked.rb,
lib/tdlib/types/update/chat_read_inbox.rb,
lib/tdlib/types/update/chat_voice_chat.rb,
lib/tdlib/types/update/delete_messages.rb,
lib/tdlib/types/update/message_content.rb,
lib/tdlib/types/update/recent_stickers.rb,
lib/tdlib/types/user_status/last_month.rb,
lib/tdlib/types/background_type/pattern.rb,
lib/tdlib/types/call_server_type/webrtc.rb,
lib/tdlib/types/chat_invite_link_counts.rb,
lib/tdlib/types/chat_invite_link_member.rb,
lib/tdlib/types/chat_member_status/left.rb,
lib/tdlib/types/chat_report_reason/fake.rb,
lib/tdlib/types/chat_report_reason/spam.rb,
lib/tdlib/types/chat_statistics/channel.rb,
lib/tdlib/types/device_token/apple_push.rb,
lib/tdlib/types/device_token/tizen_push.rb,
lib/tdlib/types/file_type/profile_photo.rb,
lib/tdlib/types/input_background/remote.rb,
lib/tdlib/types/input_chat_photo/static.rb,
lib/tdlib/types/input_credentials/saved.rb,
lib/tdlib/types/input_identity_document.rb,
lib/tdlib/types/input_personal_document.rb,
lib/tdlib/types/message_content/contact.rb,
lib/tdlib/types/message_content/invoice.rb,
lib/tdlib/types/message_content/sticker.rb,
lib/tdlib/types/message_file_type/group.rb,
lib/tdlib/types/notification_group_type.rb,
lib/tdlib/types/page_block/preformatted.rb,
lib/tdlib/types/recommended_chat_filter.rb,
lib/tdlib/types/rich_text/email_address.rb,
lib/tdlib/types/rich_text/strikethrough.rb,
lib/tdlib/types/secret_chat_state/ready.rb,
lib/tdlib/types/statistical_graph/async.rb,
lib/tdlib/types/statistical_graph/error.rb,
lib/tdlib/types/storage_statistics_fast.rb,
lib/tdlib/types/text_entity_type/italic.rb,
lib/tdlib/types/top_chat_category/calls.rb,
lib/tdlib/types/top_chat_category/users.rb,
lib/tdlib/types/update/chat_permissions.rb,
lib/tdlib/types/update/chat_read_outbox.rb,
lib/tdlib/types/update/connection_state.rb,
lib/tdlib/types/update/new_custom_event.rb,
lib/tdlib/types/update/new_custom_query.rb,
lib/tdlib/types/update/new_inline_query.rb,
lib/tdlib/types/update/saved_animations.rb,
lib/tdlib/types/update/terms_of_service.rb,
lib/tdlib/types/update/user_chat_action.rb,
lib/tdlib/types/authentication_code_info.rb,
lib/tdlib/types/authentication_code_type.rb,
lib/tdlib/types/background_fill/gradient.rb,
lib/tdlib/types/chat_invite_link_members.rb,
lib/tdlib/types/chat_members_filter/bots.rb,
lib/tdlib/types/device_token/simple_push.rb,
lib/tdlib/types/device_token/ubuntu_push.rb,
lib/tdlib/types/group_call_join_response.rb,
lib/tdlib/types/inline_query_result/game.rb,
lib/tdlib/types/localization_target_info.rb,
lib/tdlib/types/message_content/document.rb,
lib/tdlib/types/message_content/location.rb,
lib/tdlib/types/message_interaction_info.rb,
lib/tdlib/types/message_scheduling_state.rb,
lib/tdlib/types/network_statistics_entry.rb,
lib/tdlib/types/page_block/embedded_post.rb,
lib/tdlib/types/passport_element/address.rb,
lib/tdlib/types/payments_provider_stripe.rb,
lib/tdlib/types/recommended_chat_filters.rb,
lib/tdlib/types/reply_markup/force_reply.rb,
lib/tdlib/types/secret_chat_state/closed.rb,
lib/tdlib/types/t_me_url_type/supergroup.rb,
lib/tdlib/types/temporary_password_state.rb,
lib/tdlib/types/text_entity_type/cashtag.rb,
lib/tdlib/types/text_entity_type/hashtag.rb,
lib/tdlib/types/text_entity_type/mention.rb,
lib/tdlib/types/text_parse_mode/markdown.rb,
lib/tdlib/types/top_chat_category/groups.rb,
lib/tdlib/types/update/chat_last_message.rb,
lib/tdlib/types/update/chat_reply_markup.rb,
lib/tdlib/types/update/favorite_stickers.rb,
lib/tdlib/types/update/message_is_pinned.rb,
lib/tdlib/types/update/suggested_actions.rb,
lib/tdlib/types/update/unread_chat_count.rb,
lib/tdlib/types/vector_path_command/line.rb,
lib/tdlib/types/authorization_state/ready.rb,
lib/tdlib/types/background_type/wallpaper.rb,
lib/tdlib/types/bank_card_action_open_url.rb,
lib/tdlib/types/call_discard_reason/empty.rb,
lib/tdlib/types/call_problem/silent_local.rb,
lib/tdlib/types/chat_member_status/banned.rb,
lib/tdlib/types/chat_member_status/member.rb,
lib/tdlib/types/chat_report_reason/custom.rb,
lib/tdlib/types/chat_source/mtproto_proxy.rb,
lib/tdlib/types/connection_state/updating.rb,
lib/tdlib/types/device_token/windows_push.rb,
lib/tdlib/types/group_call_recent_speaker.rb,
lib/tdlib/types/inline_query_result/audio.rb,
lib/tdlib/types/inline_query_result/photo.rb,
lib/tdlib/types/inline_query_result/venue.rb,
lib/tdlib/types/inline_query_result/video.rb,
lib/tdlib/types/input_chat_photo/previous.rb,
lib/tdlib/types/input_inline_query_result.rb,
lib/tdlib/types/keyboard_button_type/text.rb,
lib/tdlib/types/message_content/animation.rb,
lib/tdlib/types/message_file_type/private.rb,
lib/tdlib/types/message_file_type/unknown.rb,
lib/tdlib/types/passport_element/passport.rb,
lib/tdlib/types/passport_required_element.rb,
lib/tdlib/types/passport_suitable_element.rb,
lib/tdlib/types/push_message_content/game.rb,
lib/tdlib/types/push_message_content/poll.rb,
lib/tdlib/types/push_message_content/text.rb,
lib/tdlib/types/secret_chat_state/pending.rb,
lib/tdlib/types/supergroup_members_filter.rb,
lib/tdlib/types/t_me_url_type/chat_invite.rb,
lib/tdlib/types/t_me_url_type/sticker_set.rb,
lib/tdlib/types/text_entity_type/pre_code.rb,
lib/tdlib/types/text_entity_type/text_url.rb,
lib/tdlib/types/update/chat_draft_message.rb,
lib/tdlib/types/update/new_callback_query.rb,
lib/tdlib/types/update/new_shipping_query.rb,
lib/tdlib/types/update/notification_group.rb,
lib/tdlib/types/user_privacy_setting_rule.rb,
lib/tdlib/types/authorization_state/closed.rb,
lib/tdlib/types/call_discard_reason/missed.rb,
lib/tdlib/types/call_problem/interruptions.rb,
lib/tdlib/types/call_problem/silent_remote.rb,
lib/tdlib/types/call_state/exchanging_keys.rb,
lib/tdlib/types/chat_member_status/creator.rb,
lib/tdlib/types/chat_members_filter/banned.rb,
lib/tdlib/types/chat_notification_settings.rb,
lib/tdlib/types/chat_statistics/supergroup.rb,
lib/tdlib/types/check_chat_username_result.rb,
lib/tdlib/types/dice_stickers/slot_machine.rb,
lib/tdlib/types/encrypted_passport_element.rb,
lib/tdlib/types/file_type/secret_thumbnail.rb,
lib/tdlib/types/input_chat_photo/animation.rb,
lib/tdlib/types/input_message_content/dice.rb,
lib/tdlib/types/input_message_content/game.rb,
lib/tdlib/types/input_message_content/poll.rb,
lib/tdlib/types/input_message_content/text.rb,
lib/tdlib/types/language_pack_string_value.rb,
lib/tdlib/types/message_content/game_score.rb,
lib/tdlib/types/message_content/video_note.rb,
lib/tdlib/types/message_content/voice_note.rb,
lib/tdlib/types/notification_type/new_call.rb,
lib/tdlib/types/page_block_related_article.rb,
lib/tdlib/types/push_message_content/audio.rb,
lib/tdlib/types/push_message_content/photo.rb,
lib/tdlib/types/push_message_content/video.rb,
lib/tdlib/types/reply_markup/show_keyboard.rb,
lib/tdlib/types/search_messages_filter/url.rb,
lib/tdlib/types/storage_statistics_by_chat.rb,
lib/tdlib/types/text_entity_type/underline.rb,
lib/tdlib/types/top_chat_category/channels.rb,
lib/tdlib/types/update/authorization_state.rb,
lib/tdlib/types/update/message_send_failed.rb,
lib/tdlib/types/update/selected_background.rb,
lib/tdlib/types/user_privacy_setting_rules.rb,
lib/tdlib/types/authorization_state/closing.rb,
lib/tdlib/types/call_discard_reason/hung_up.rb,
lib/tdlib/types/callback_query_payload/data.rb,
lib/tdlib/types/callback_query_payload/game.rb,
lib/tdlib/types/chat_action/recording_video.rb,
lib/tdlib/types/chat_action/uploading_photo.rb,
lib/tdlib/types/chat_action/uploading_video.rb,
lib/tdlib/types/chat_action_bar/add_contact.rb,
lib/tdlib/types/chat_action_bar/report_spam.rb,
lib/tdlib/types/chat_members_filter/members.rb,
lib/tdlib/types/chat_members_filter/mention.rb,
lib/tdlib/types/chat_report_reason/violence.rb,
lib/tdlib/types/connection_state/connecting.rb,
lib/tdlib/types/device_token/microsoft_push.rb,
lib/tdlib/types/inline_keyboard_button_type.rb,
lib/tdlib/types/inline_query_result/article.rb,
lib/tdlib/types/inline_query_result/contact.rb,
lib/tdlib/types/inline_query_result/sticker.rb,
lib/tdlib/types/input_credentials/apple_pay.rb,
lib/tdlib/types/input_message_content/audio.rb,
lib/tdlib/types/input_message_content/photo.rb,
lib/tdlib/types/input_message_content/venue.rb,
lib/tdlib/types/input_message_content/video.rb,
lib/tdlib/types/message_content/pin_message.rb,
lib/tdlib/types/message_content/unsupported.rb,
lib/tdlib/types/message_forward_origin/chat.rb,
lib/tdlib/types/message_forward_origin/user.rb,
lib/tdlib/types/network_type/mobile_roaming.rb,
lib/tdlib/types/notification_settings_scope.rb,
lib/tdlib/types/page_block/related_articles.rb,
lib/tdlib/types/passport_authorization_form.rb,
lib/tdlib/types/push_message_content/hidden.rb,
lib/tdlib/types/scope_notification_settings.rb,
lib/tdlib/types/search_messages_filter/call.rb,
lib/tdlib/types/update/active_notifications.rb,
lib/tdlib/types/update/file_generation_stop.rb,
lib/tdlib/types/update/message_mention_read.rb,
lib/tdlib/types/update/service_notification.rb,
lib/tdlib/types/update/supergroup_full_info.rb,
lib/tdlib/types/update/unread_message_count.rb,
lib/tdlib/types/authentication_code_type/sms.rb,
lib/tdlib/types/call_discard_reason/declined.rb,
lib/tdlib/types/call_problem/distorted_video.rb,
lib/tdlib/types/call_problem/pixelated_video.rb,
lib/tdlib/types/chat_action/choosing_contact.rb,
lib/tdlib/types/chat_members_filter/contacts.rb,
lib/tdlib/types/chat_report_reason/copyright.rb,
lib/tdlib/types/chat_statistics_inviter_info.rb,
lib/tdlib/types/inline_query_result/document.rb,
lib/tdlib/types/inline_query_result/location.rb,
lib/tdlib/types/input_credentials/google_pay.rb,
lib/tdlib/types/input_passport_element_error.rb,
lib/tdlib/types/message_content/chat_set_ttl.rb,
lib/tdlib/types/message_sending_state/failed.rb,
lib/tdlib/types/push_message_content/contact.rb,
lib/tdlib/types/push_message_content/invoice.rb,
lib/tdlib/types/push_message_content/sticker.rb,
lib/tdlib/types/reply_markup/inline_keyboard.rb,
lib/tdlib/types/reply_markup/remove_keyboard.rb,
lib/tdlib/types/search_messages_filter/audio.rb,
lib/tdlib/types/search_messages_filter/empty.rb,
lib/tdlib/types/search_messages_filter/photo.rb,
lib/tdlib/types/search_messages_filter/video.rb,
lib/tdlib/types/text_entity_type/bot_command.rb,
lib/tdlib/types/update/basic_group_full_info.rb,
lib/tdlib/types/update/file_generation_start.rb,
lib/tdlib/types/update/language_pack_strings.rb,
lib/tdlib/types/update/trending_sticker_sets.rb,
lib/tdlib/types/authentication_code_type/call.rb,
lib/tdlib/types/authorization_state/wait_code.rb,
lib/tdlib/types/call_problem/distorted_speech.rb,
lib/tdlib/types/can_transfer_ownership_result.rb,
lib/tdlib/types/chat_action/choosing_location.rb,
lib/tdlib/types/chat_event_action/member_left.rb,
lib/tdlib/types/chat_member_status/restricted.rb,
lib/tdlib/types/check_chat_username_result/ok.rb,
lib/tdlib/types/device_token/apple_push_vo_ip.rb,
lib/tdlib/types/device_token/black_berry_push.rb,
lib/tdlib/types/inline_query_result/animation.rb,
lib/tdlib/types/input_message_content/contact.rb,
lib/tdlib/types/input_message_content/invoice.rb,
lib/tdlib/types/input_message_content/sticker.rb,
lib/tdlib/types/message_content/expired_photo.rb,
lib/tdlib/types/message_content/expired_video.rb,
lib/tdlib/types/message_sending_state/pending.rb,
lib/tdlib/types/network_statistics_entry/call.rb,
lib/tdlib/types/network_statistics_entry/file.rb,
lib/tdlib/types/notification_group_type/calls.rb,
lib/tdlib/types/notification_type/new_message.rb,
lib/tdlib/types/page_block_vertical_alignment.rb,
lib/tdlib/types/passport_element/phone_number.rb,
lib/tdlib/types/passport_element/utility_bill.rb,
lib/tdlib/types/passport_element_error_source.rb,
lib/tdlib/types/passport_element_type/address.rb,
lib/tdlib/types/passport_elements_with_errors.rb,
lib/tdlib/types/public_chat_type/has_username.rb,
lib/tdlib/types/push_message_content/document.rb,
lib/tdlib/types/push_message_content/location.rb,
lib/tdlib/types/search_messages_filter/pinned.rb,
lib/tdlib/types/text_entity_type/mention_name.rb,
lib/tdlib/types/text_entity_type/phone_number.rb,
lib/tdlib/types/top_chat_category/inline_bots.rb,
lib/tdlib/types/update/group_call_participant.rb,
lib/tdlib/types/update/installed_sticker_sets.rb,
lib/tdlib/types/update/message_content_opened.rb,
lib/tdlib/types/update/message_send_succeeded.rb,
lib/tdlib/types/update/new_pre_checkout_query.rb,
lib/tdlib/types/auto_download_settings_presets.rb,
lib/tdlib/types/chat_action/start_playing_game.rb,
lib/tdlib/types/chat_action/uploading_document.rb,
lib/tdlib/types/chat_action_bar/invite_members.rb,
lib/tdlib/types/chat_event_action/poll_stopped.rb,
lib/tdlib/types/chat_members_filter/restricted.rb,
lib/tdlib/types/chat_report_reason/child_abuse.rb,
lib/tdlib/types/chat_report_reason/pornography.rb,
lib/tdlib/types/group_call_payload_fingerprint.rb,
lib/tdlib/types/inline_query_result/voice_note.rb,
lib/tdlib/types/input_inline_query_result/game.rb,
lib/tdlib/types/input_message_content/document.rb,
lib/tdlib/types/input_message_content/location.rb,
lib/tdlib/types/input_passport_element/address.rb,
lib/tdlib/types/message_forward_origin/channel.rb,
lib/tdlib/types/passport_element/email_address.rb,
lib/tdlib/types/passport_element/identity_card.rb,
lib/tdlib/types/passport_element_type/passport.rb,
lib/tdlib/types/push_message_content/animation.rb,
lib/tdlib/types/search_messages_filter/mention.rb,
lib/tdlib/types/supergroup_members_filter/bots.rb,
lib/tdlib/types/text_entity_type/email_address.rb,
lib/tdlib/types/text_entity_type/strikethrough.rb,
lib/tdlib/types/update/new_call_signaling_data.rb,
lib/tdlib/types/authorization_state/logging_out.rb,
lib/tdlib/types/chat_event_action/member_joined.rb,
lib/tdlib/types/chat_event_action/photo_changed.rb,
lib/tdlib/types/chat_event_action/title_changed.rb,
lib/tdlib/types/group_call_join_response/stream.rb,
lib/tdlib/types/group_call_join_response/webrtc.rb,
lib/tdlib/types/inline_keyboard_button_type/buy.rb,
lib/tdlib/types/inline_keyboard_button_type/url.rb,
lib/tdlib/types/input_inline_query_result/audio.rb,
lib/tdlib/types/input_inline_query_result/photo.rb,
lib/tdlib/types/input_inline_query_result/venue.rb,
lib/tdlib/types/input_inline_query_result/video.rb,
lib/tdlib/types/input_message_content/animation.rb,
lib/tdlib/types/input_message_content/forwarded.rb,
lib/tdlib/types/input_passport_element/passport.rb,
lib/tdlib/types/message_content/chat_upgrade_to.rb,
lib/tdlib/types/page_block_horizontal_alignment.rb,
lib/tdlib/types/passport_element/bank_statement.rb,
lib/tdlib/types/passport_element/driver_license.rb,
lib/tdlib/types/push_message_content/game_score.rb,
lib/tdlib/types/push_message_content/video_note.rb,
lib/tdlib/types/push_message_content/voice_note.rb,
lib/tdlib/types/search_messages_filter/document.rb,
lib/tdlib/types/storage_statistics_by_file_type.rb,
lib/tdlib/types/suggested_action/see_ticks_hint.rb,
lib/tdlib/types/top_chat_category/forward_chats.rb,
lib/tdlib/types/update/chat_is_marked_as_unread.rb,
lib/tdlib/types/update/chat_message_ttl_setting.rb,
lib/tdlib/types/update/chat_online_member_count.rb,
lib/tdlib/types/update/message_interaction_info.rb,
lib/tdlib/types/update/new_chosen_inline_result.rb,
lib/tdlib/types/call_discard_reason/disconnected.rb,
lib/tdlib/types/can_transfer_ownership_result/ok.rb,
lib/tdlib/types/chat_action/recording_video_note.rb,
lib/tdlib/types/chat_action/recording_voice_note.rb,
lib/tdlib/types/chat_action/uploading_video_note.rb,
lib/tdlib/types/chat_action/uploading_voice_note.rb,
lib/tdlib/types/chat_action_bar/report_add_block.rb,
lib/tdlib/types/chat_event_action/member_invited.rb,
lib/tdlib/types/chat_event_action/message_edited.rb,
lib/tdlib/types/chat_event_action/message_pinned.rb,
lib/tdlib/types/chat_member_status/administrator.rb,
lib/tdlib/types/input_message_content/video_note.rb,
lib/tdlib/types/input_message_content/voice_note.rb,
lib/tdlib/types/message_content/chat_add_members.rb,
lib/tdlib/types/message_content/screenshot_taken.rb,
lib/tdlib/types/message_content/voice_chat_ended.rb,
lib/tdlib/types/notification_group_type/mentions.rb,
lib/tdlib/types/notification_group_type/messages.rb,
lib/tdlib/types/push_message_content/media_album.rb,
lib/tdlib/types/search_messages_filter/animation.rb,
lib/tdlib/types/supergroup_members_filter/banned.rb,
lib/tdlib/types/supergroup_members_filter/recent.rb,
lib/tdlib/types/supergroup_members_filter/search.rb,
lib/tdlib/types/update/chat_unread_mention_count.rb,
lib/tdlib/types/update/message_send_acknowledged.rb,
lib/tdlib/types/update/new_inline_callback_query.rb,
lib/tdlib/types/user_privacy_setting/allow_calls.rb,
lib/tdlib/types/user_privacy_setting/show_status.rb,
lib/tdlib/types/authorization_state/wait_password.rb,
lib/tdlib/types/chat_event_action/invites_toggled.rb,
lib/tdlib/types/chat_event_action/member_promoted.rb,
lib/tdlib/types/chat_event_action/message_deleted.rb,
lib/tdlib/types/device_token/microsoft_push_vo_ip.rb,
lib/tdlib/types/input_inline_query_result/article.rb,
lib/tdlib/types/input_inline_query_result/contact.rb,
lib/tdlib/types/input_inline_query_result/sticker.rb,
lib/tdlib/types/keyboard_button_type/request_poll.rb,
lib/tdlib/types/message_content/chat_change_photo.rb,
lib/tdlib/types/message_content/chat_change_title.rb,
lib/tdlib/types/message_content/chat_delete_photo.rb,
lib/tdlib/types/message_content/chat_join_by_link.rb,
lib/tdlib/types/message_content/chat_upgrade_from.rb,
lib/tdlib/types/message_content/website_connected.rb,
lib/tdlib/types/notification_type/new_secret_chat.rb,
lib/tdlib/types/page_block_vertical_alignment/top.rb,
lib/tdlib/types/passport_element/personal_details.rb,
lib/tdlib/types/passport_element/rental_agreement.rb,
lib/tdlib/types/search_messages_filter/chat_photo.rb,
lib/tdlib/types/search_messages_filter/video_note.rb,
lib/tdlib/types/search_messages_filter/voice_note.rb,
lib/tdlib/types/supergroup_members_filter/mention.rb,
lib/tdlib/types/text_entity_type/bank_card_number.rb,
lib/tdlib/types/update/chat_notification_settings.rb,
lib/tdlib/types/update/have_pending_notifications.rb,
lib/tdlib/types/update/user_privacy_setting_rules.rb,
lib/tdlib/types/chat_action_bar/share_phone_number.rb,
lib/tdlib/types/chat_event_action/location_changed.rb,
lib/tdlib/types/chat_event_action/message_unpinned.rb,
lib/tdlib/types/chat_event_action/username_changed.rb,
lib/tdlib/types/chat_members_filter/administrators.rb,
lib/tdlib/types/group_call_join_response_candidate.rb,
lib/tdlib/types/input_inline_query_result/document.rb,
lib/tdlib/types/input_inline_query_result/location.rb,
lib/tdlib/types/language_pack_string_value/deleted.rb,
lib/tdlib/types/message_content/chat_delete_member.rb,
lib/tdlib/types/message_content/contact_registered.rb,
lib/tdlib/types/message_content/passport_data_sent.rb,
lib/tdlib/types/message_content/payment_successful.rb,
lib/tdlib/types/message_content/voice_chat_started.rb,
lib/tdlib/types/message_forward_origin/hidden_user.rb,
lib/tdlib/types/notification_type/new_push_message.rb,
lib/tdlib/types/passport_element/internal_passport.rb,
lib/tdlib/types/passport_element_error_source/file.rb,
lib/tdlib/types/passport_element_type/phone_number.rb,
lib/tdlib/types/passport_element_type/utility_bill.rb,
lib/tdlib/types/public_chat_type/is_location_based.rb,
lib/tdlib/types/search_messages_filter/missed_call.rb,
lib/tdlib/types/supergroup_members_filter/contacts.rb,
lib/tdlib/types/update/animation_search_parameters.rb,
lib/tdlib/types/update/chat_has_scheduled_messages.rb,
lib/tdlib/types/update/scope_notification_settings.rb,
lib/tdlib/types/authentication_code_type/flash_call.rb,
lib/tdlib/types/call_server_type/telegram_reflector.rb,
lib/tdlib/types/chat_event_action/member_restricted.rb,
lib/tdlib/types/chat_statistics_message_sender_info.rb,
lib/tdlib/types/input_inline_query_result/animation.rb,
lib/tdlib/types/input_passport_element/phone_number.rb,
lib/tdlib/types/input_passport_element/utility_bill.rb,
lib/tdlib/types/input_passport_element_error_source.rb,
lib/tdlib/types/language_pack_string_value/ordinary.rb,
lib/tdlib/types/login_url_info/request_confirmation.rb,
lib/tdlib/types/notification_group_type/secret_chat.rb,
lib/tdlib/types/passport_element_error_source/files.rb,
lib/tdlib/types/passport_element_type/email_address.rb,
lib/tdlib/types/passport_element_type/identity_card.rb,
lib/tdlib/types/suggested_action/check_phone_number.rb,
lib/tdlib/types/update/message_live_location_viewed.rb,
lib/tdlib/types/user_privacy_setting_rule/allow_all.rb,
lib/tdlib/types/chat_event_action/invite_link_edited.rb,
lib/tdlib/types/chat_event_action/voice_chat_created.rb,
lib/tdlib/types/connection_state/connecting_to_proxy.rb,
lib/tdlib/types/connection_state/waiting_for_network.rb,
lib/tdlib/types/inline_keyboard_button_type/callback.rb,
lib/tdlib/types/input_inline_query_result/voice_note.rb,
lib/tdlib/types/input_passport_element/email_address.rb,
lib/tdlib/types/input_passport_element/identity_card.rb,
lib/tdlib/types/message_content/voice_chat_scheduled.rb,
lib/tdlib/types/page_block_horizontal_alignment/left.rb,
lib/tdlib/types/page_block_vertical_alignment/bottom.rb,
lib/tdlib/types/page_block_vertical_alignment/middle.rb,
lib/tdlib/types/passport_element_error_source/selfie.rb,
lib/tdlib/types/passport_element_type/bank_statement.rb,
lib/tdlib/types/passport_element_type/driver_license.rb,
lib/tdlib/types/phone_number_authentication_settings.rb,
lib/tdlib/types/supergroup_members_filter/restricted.rb,
lib/tdlib/types/authorization_state/wait_phone_number.rb,
lib/tdlib/types/authorization_state/wait_registration.rb,
lib/tdlib/types/chat_event_action/description_changed.rb,
lib/tdlib/types/chat_event_action/invite_link_deleted.rb,
lib/tdlib/types/chat_event_action/invite_link_revoked.rb,
lib/tdlib/types/chat_event_action/linked_chat_changed.rb,
lib/tdlib/types/chat_event_action/permissions_changed.rb,
lib/tdlib/types/chat_event_action/sticker_set_changed.rb,
lib/tdlib/types/chat_report_reason/unrelated_location.rb,
lib/tdlib/types/device_token/firebase_cloud_messaging.rb,
lib/tdlib/types/inline_keyboard_button_type/login_url.rb,
lib/tdlib/types/input_passport_element/bank_statement.rb,
lib/tdlib/types/input_passport_element/driver_license.rb,
lib/tdlib/types/keyboard_button_type/request_location.rb,
lib/tdlib/types/language_pack_string_value/pluralized.rb,
lib/tdlib/types/message_content/custom_service_action.rb,
lib/tdlib/types/message_forward_origin/message_import.rb,
lib/tdlib/types/message_scheduling_state/send_at_date.rb,
lib/tdlib/types/page_block_horizontal_alignment/right.rb,
lib/tdlib/types/push_message_content/chat_add_members.rb,
lib/tdlib/types/push_message_content/message_forwards.rb,
lib/tdlib/types/push_message_content/screenshot_taken.rb,
lib/tdlib/types/search_messages_filter/failed_to_send.rb,
lib/tdlib/types/search_messages_filter/unread_mention.rb,
lib/tdlib/types/user_privacy_setting_rule/allow_users.rb,
lib/tdlib/types/chat_event_action/voice_chat_discarded.rb,
lib/tdlib/types/email_address_authentication_code_info.rb,
lib/tdlib/types/message_content/passport_data_received.rb,
lib/tdlib/types/message_content/payment_successful_bot.rb,
lib/tdlib/types/message_content/supergroup_chat_create.rb,
lib/tdlib/types/page_block_horizontal_alignment/center.rb,
lib/tdlib/types/passport_element/passport_registration.rb,
lib/tdlib/types/passport_element_type/personal_details.rb,
lib/tdlib/types/passport_element_type/rental_agreement.rb,
lib/tdlib/types/push_message_content/chat_change_photo.rb,
lib/tdlib/types/push_message_content/chat_change_title.rb,
lib/tdlib/types/push_message_content/chat_join_by_link.rb,
lib/tdlib/types/search_messages_filter/photo_and_video.rb,
lib/tdlib/types/user_privacy_setting/show_phone_number.rb,
lib/tdlib/types/user_privacy_setting_rule/restrict_all.rb,
lib/tdlib/types/vector_path_command/cubic_bezier_curve.rb,
lib/tdlib/types/authorization_state/wait_encryption_key.rb,
lib/tdlib/types/chat_event_action/sign_messages_toggled.rb,
lib/tdlib/types/chat_source/public_service_announcement.rb,
lib/tdlib/types/input_passport_element/personal_details.rb,
lib/tdlib/types/input_passport_element/rental_agreement.rb,
lib/tdlib/types/message_content/basic_group_chat_create.rb,
lib/tdlib/types/notification_settings_scope/group_chats.rb,
lib/tdlib/types/passport_element/temporary_registration.rb,
lib/tdlib/types/passport_element_type/internal_passport.rb,
lib/tdlib/types/push_message_content/chat_delete_member.rb,
lib/tdlib/types/push_message_content/contact_registered.rb,
lib/tdlib/types/user_privacy_setting/allow_chat_invites.rb,
lib/tdlib/types/user_privacy_setting/show_profile_photo.rb,
lib/tdlib/types/chat_statistics_message_interaction_info.rb,
lib/tdlib/types/input_passport_element/internal_passport.rb,
lib/tdlib/types/input_passport_element_error_source/file.rb,
lib/tdlib/types/passport_element_error_source/data_field.rb,
lib/tdlib/types/passport_element_error_source/front_side.rb,
lib/tdlib/types/supergroup_members_filter/administrators.rb,
lib/tdlib/types/update/chat_default_disable_notification.rb,
lib/tdlib/types/user_privacy_setting_rule/allow_contacts.rb,
lib/tdlib/types/user_privacy_setting_rule/restrict_users.rb,
lib/tdlib/types/authentication_code_type/telegram_message.rb,
lib/tdlib/types/authorization_state/wait_tdlib_parameters.rb,
lib/tdlib/types/callback_query_payload/data_with_password.rb,
lib/tdlib/types/chat_action_bar/report_unrelated_location.rb,
lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb,
lib/tdlib/types/inline_keyboard_button_type/callback_game.rb,
lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb,
lib/tdlib/types/input_passport_element_error_source/files.rb,
lib/tdlib/types/keyboard_button_type/request_phone_number.rb,
lib/tdlib/types/message_content/proximity_alert_triggered.rb,
lib/tdlib/types/message_scheduling_state/send_when_online.rb,
lib/tdlib/types/notification_settings_scope/channel_chats.rb,
lib/tdlib/types/notification_settings_scope/private_chats.rb,
lib/tdlib/types/passport_element_error_source/unspecified.rb,
lib/tdlib/types/chat_statistics_administrator_actions_info.rb,
lib/tdlib/types/input_passport_element_error_source/selfie.rb,
lib/tdlib/types/passport_element_error_source/reverse_side.rb,
lib/tdlib/types/check_chat_username_result/username_invalid.rb,
lib/tdlib/types/passport_element_type/passport_registration.rb,
lib/tdlib/types/search_messages_filter/voice_and_video_note.rb,
lib/tdlib/types/suggested_action/convert_to_broadcast_group.rb,
lib/tdlib/types/user_privacy_setting_rule/restrict_contacts.rb,
lib/tdlib/types/check_chat_username_result/username_occupied.rb,
lib/tdlib/types/input_passport_element/passport_registration.rb,
lib/tdlib/types/passport_element_type/temporary_registration.rb,
lib/tdlib/types/push_message_content/basic_group_chat_create.rb,
lib/tdlib/types/user_privacy_setting_rule/allow_chat_members.rb,
lib/tdlib/types/can_transfer_ownership_result/password_needed.rb,
lib/tdlib/types/chat_event_action/message_ttl_setting_changed.rb,
lib/tdlib/types/input_passport_element/temporary_registration.rb,
lib/tdlib/types/user_privacy_setting/allow_peer_to_peer_calls.rb,
lib/tdlib/types/chat_event_action/member_joined_by_invite_link.rb,
lib/tdlib/types/input_passport_element_error_source/data_field.rb,
lib/tdlib/types/input_passport_element_error_source/front_side.rb,
lib/tdlib/types/message_content/invite_voice_chat_participants.rb,
lib/tdlib/types/passport_element_error_source/translation_file.rb,
lib/tdlib/types/can_transfer_ownership_result/session_too_fresh.rb,
lib/tdlib/types/input_passport_element_error_source/unspecified.rb,
lib/tdlib/types/passport_element_error_source/translation_files.rb,
lib/tdlib/types/user_privacy_setting_rule/restrict_chat_members.rb,
lib/tdlib/types/can_transfer_ownership_result/password_too_fresh.rb,
lib/tdlib/types/check_chat_username_result/public_chats_too_much.rb,
lib/tdlib/types/input_passport_element_error_source/reverse_side.rb,
lib/tdlib/types/authorization_state/wait_other_device_confirmation.rb,
lib/tdlib/types/chat_event_action/is_all_history_available_toggled.rb,
lib/tdlib/types/inline_keyboard_button_type/callback_with_password.rb,
lib/tdlib/types/suggested_action/enable_archive_and_mute_new_chats.rb,
lib/tdlib/types/user_privacy_setting/allow_finding_by_phone_number.rb,
lib/tdlib/types/check_chat_username_result/public_groups_unavailable.rb,
lib/tdlib/types/input_passport_element_error_source/translation_file.rb,
lib/tdlib/types/user_privacy_setting/show_link_in_forwarded_messages.rb,
lib/tdlib/types/input_passport_element_error_source/translation_files.rb,
lib/tdlib/types/chat_event_action/voice_chat_participant_is_muted_toggled.rb,
lib/tdlib/types/chat_event_action/voice_chat_mute_new_participants_toggled.rb,
lib/tdlib/types/chat_event_action/voice_chat_participant_volume_level_changed.rb
Defined Under Namespace
Classes: AccountTtl, Address, AnimatedChatPhoto, Animation, Animations, Audio, AuthenticationCodeInfo, AuthenticationCodeType, AuthorizationState, AutoDownloadSettings, AutoDownloadSettingsPresets, Background, BackgroundFill, BackgroundType, Backgrounds, BankCardActionOpenUrl, BankCardInfo, Base, BasicGroup, BasicGroupFullInfo, BotCommand, BotInfo, Call, CallDiscardReason, CallId, CallProblem, CallProtocol, CallServer, CallServerType, CallState, CallbackQueryAnswer, CallbackQueryPayload, CanTransferOwnershipResult, Chat, ChatAction, ChatActionBar, ChatAdministrator, ChatAdministrators, ChatEvent, ChatEventAction, ChatEventLogFilters, ChatEvents, ChatFilter, ChatFilterInfo, ChatInviteLink, ChatInviteLinkCount, ChatInviteLinkCounts, ChatInviteLinkInfo, ChatInviteLinkMember, ChatInviteLinkMembers, ChatInviteLinks, ChatList, ChatLists, ChatLocation, ChatMember, ChatMemberStatus, ChatMembers, ChatMembersFilter, ChatNearby, ChatNotificationSettings, ChatPermissions, ChatPhoto, ChatPhotoInfo, ChatPhotos, ChatPosition, ChatReportReason, ChatSource, ChatStatistics, ChatStatisticsAdministratorActionsInfo, ChatStatisticsInviterInfo, ChatStatisticsMessageInteractionInfo, ChatStatisticsMessageSenderInfo, ChatType, Chats, ChatsNearby, CheckChatUsernameResult, ClosedVectorPath, ConnectedWebsite, ConnectedWebsites, ConnectionState, Contact, Count, Countries, CountryInfo, CustomRequestResult, DatabaseStatistics, Date, DateRange, DatedFile, DeepLinkInfo, DeviceToken, DiceStickers, Document, DraftMessage, EmailAddressAuthenticationCodeInfo, Emojis, EncryptedCredentials, EncryptedPassportElement, Error, File, FilePart, FileType, FormattedText, FoundMessages, Game, GameHighScore, GameHighScores, GroupCall, GroupCallId, GroupCallJoinResponse, GroupCallJoinResponseCandidate, GroupCallParticipant, GroupCallPayload, GroupCallPayloadFingerprint, GroupCallRecentSpeaker, Hashtags, HttpUrl, IdentityDocument, ImportedContacts, InlineKeyboardButton, InlineKeyboardButtonType, InlineQueryResult, InlineQueryResults, InputBackground, InputChatPhoto, InputCredentials, InputFile, InputIdentityDocument, InputInlineQueryResult, InputMessageContent, InputPassportElement, InputPassportElementError, InputPassportElementErrorSource, InputPersonalDocument, InputSticker, InputThumbnail, Invoice, JsonObjectMember, JsonValue, KeyboardButton, KeyboardButtonType, LabeledPricePart, LanguagePackInfo, LanguagePackString, LanguagePackStringValue, LanguagePackStrings, LocalFile, LocalizationTargetInfo, Location, LogStream, LogTags, LogVerbosityLevel, LoginUrlInfo, MaskPoint, MaskPosition, Message, MessageContent, MessageCopyOptions, MessageFileType, MessageForwardInfo, MessageForwardOrigin, MessageInteractionInfo, MessageLink, MessageLinkInfo, MessageReplyInfo, MessageSchedulingState, MessageSendOptions, MessageSender, MessageSenders, MessageSendingState, MessageStatistics, MessageThreadInfo, Messages, Minithumbnail, NetworkStatistics, NetworkStatisticsEntry, NetworkType, Notification, NotificationGroup, NotificationGroupType, NotificationSettingsScope, NotificationType, Ok, OptionValue, OrderInfo, PageBlock, PageBlockCaption, PageBlockHorizontalAlignment, PageBlockListItem, PageBlockRelatedArticle, PageBlockTableCell, PageBlockVerticalAlignment, PassportAuthorizationForm, PassportElement, PassportElementError, PassportElementErrorSource, PassportElementType, PassportElements, PassportElementsWithErrors, PassportRequiredElement, PassportSuitableElement, PasswordState, PaymentForm, PaymentFormTheme, PaymentReceipt, PaymentResult, PaymentsProviderStripe, PersonalDetails, PersonalDocument, PhoneNumberAuthenticationSettings, PhoneNumberInfo, Photo, PhotoSize, Point, Poll, PollOption, PollType, ProfilePhoto, Proxies, Proxy, ProxyType, PublicChatType, PushMessageContent, PushReceiverId, RecommendedChatFilter, RecommendedChatFilters, RecoveryEmailAddress, RemoteFile, ReplyMarkup, RichText, SavedCredentials, ScopeNotificationSettings, SearchMessagesFilter, Seconds, SecretChat, SecretChatState, Session, Sessions, ShippingOption, StatisticalGraph, StatisticalValue, Sticker, StickerSet, StickerSetInfo, StickerSets, Stickers, StorageStatistics, StorageStatisticsByChat, StorageStatisticsByFileType, StorageStatisticsFast, SuggestedAction, Supergroup, SupergroupFullInfo, SupergroupMembersFilter, TMeUrl, TMeUrlType, TMeUrls, TdlibParameters, TemporaryPasswordState, TermsOfService, Text, TextEntities, TextEntity, TextEntityType, TextParseMode, Thumbnail, ThumbnailFormat, TopChatCategory, Update, Updates, User, UserFullInfo, UserPrivacySetting, UserPrivacySettingRule, UserPrivacySettingRules, UserStatus, UserType, Users, ValidatedOrderInfo, VectorPathCommand, Venue, Video, VideoNote, VoiceChat, VoiceNote, WebPage, WebPageInstantView
Constant Summary collapse
- LOOKUP_TABLE =
{ 'error' => 'Error', 'ok' => 'Ok', 'tdlibParameters' => 'TdlibParameters', 'AuthenticationCodeType' => 'AuthenticationCodeType', 'authenticationCodeTypeTelegramMessage' => 'AuthenticationCodeType::TelegramMessage', 'authenticationCodeTypeSms' => 'AuthenticationCodeType::Sms', 'authenticationCodeTypeCall' => 'AuthenticationCodeType::Call', 'authenticationCodeTypeFlashCall' => 'AuthenticationCodeType::FlashCall', 'authenticationCodeInfo' => 'AuthenticationCodeInfo', 'emailAddressAuthenticationCodeInfo' => 'EmailAddressAuthenticationCodeInfo', 'textEntity' => 'TextEntity', 'textEntities' => 'TextEntities', 'formattedText' => 'FormattedText', 'termsOfService' => 'TermsOfService', 'AuthorizationState' => 'AuthorizationState', 'authorizationStateWaitTdlibParameters' => 'AuthorizationState::WaitTdlibParameters', 'authorizationStateWaitEncryptionKey' => 'AuthorizationState::WaitEncryptionKey', 'authorizationStateWaitPhoneNumber' => 'AuthorizationState::WaitPhoneNumber', 'authorizationStateWaitCode' => 'AuthorizationState::WaitCode', 'authorizationStateWaitOtherDeviceConfirmation' => 'AuthorizationState::WaitOtherDeviceConfirmation', 'authorizationStateWaitRegistration' => 'AuthorizationState::WaitRegistration', 'authorizationStateWaitPassword' => 'AuthorizationState::WaitPassword', 'authorizationStateReady' => 'AuthorizationState::Ready', 'authorizationStateLoggingOut' => 'AuthorizationState::LoggingOut', 'authorizationStateClosing' => 'AuthorizationState::Closing', 'authorizationStateClosed' => 'AuthorizationState::Closed', 'passwordState' => 'PasswordState', 'recoveryEmailAddress' => 'RecoveryEmailAddress', 'temporaryPasswordState' => 'TemporaryPasswordState', 'localFile' => 'LocalFile', 'remoteFile' => 'RemoteFile', 'file' => 'File', 'InputFile' => 'InputFile', 'inputFileId' => 'InputFile::Id', 'inputFileRemote' => 'InputFile::Remote', 'inputFileLocal' => 'InputFile::Local', 'inputFileGenerated' => 'InputFile::Generated', 'photoSize' => 'PhotoSize', 'minithumbnail' => 'Minithumbnail', 'ThumbnailFormat' => 'ThumbnailFormat', 'thumbnailFormatJpeg' => 'ThumbnailFormat::Jpeg', 'thumbnailFormatPng' => 'ThumbnailFormat::Png', 'thumbnailFormatWebp' => 'ThumbnailFormat::Webp', 'thumbnailFormatGif' => 'ThumbnailFormat::Gif', 'thumbnailFormatTgs' => 'ThumbnailFormat::Tgs', 'thumbnailFormatMpeg4' => 'ThumbnailFormat::Mpeg4', 'thumbnail' => 'Thumbnail', 'MaskPoint' => 'MaskPoint', 'maskPointForehead' => 'MaskPoint::Forehead', 'maskPointEyes' => 'MaskPoint::Eyes', 'maskPointMouth' => 'MaskPoint::Mouth', 'maskPointChin' => 'MaskPoint::Chin', 'maskPosition' => 'MaskPosition', 'closedVectorPath' => 'ClosedVectorPath', 'pollOption' => 'PollOption', 'PollType' => 'PollType', 'pollTypeRegular' => 'PollType::Regular', 'pollTypeQuiz' => 'PollType::Quiz', 'animation' => 'Animation', 'audio' => 'Audio', 'document' => 'Document', 'photo' => 'Photo', 'sticker' => 'Sticker', 'video' => 'Video', 'videoNote' => 'VideoNote', 'voiceNote' => 'VoiceNote', 'contact' => 'Contact', 'location' => 'Location', 'venue' => 'Venue', 'game' => 'Game', 'poll' => 'Poll', 'profilePhoto' => 'ProfilePhoto', 'chatPhotoInfo' => 'ChatPhotoInfo', 'UserType' => 'UserType', 'userTypeRegular' => 'UserType::Regular', 'userTypeDeleted' => 'UserType::Deleted', 'userTypeBot' => 'UserType::Bot', 'userTypeUnknown' => 'UserType::Unknown', 'botCommand' => 'BotCommand', 'botInfo' => 'BotInfo', 'chatLocation' => 'ChatLocation', 'animatedChatPhoto' => 'AnimatedChatPhoto', 'chatPhoto' => 'ChatPhoto', 'chatPhotos' => 'ChatPhotos', 'InputChatPhoto' => 'InputChatPhoto', 'inputChatPhotoPrevious' => 'InputChatPhoto::Previous', 'inputChatPhotoStatic' => 'InputChatPhoto::Static', 'inputChatPhotoAnimation' => 'InputChatPhoto::Animation', 'user' => 'User', 'userFullInfo' => 'UserFullInfo', 'users' => 'Users', 'chatAdministrator' => 'ChatAdministrator', 'chatAdministrators' => 'ChatAdministrators', 'chatPermissions' => 'ChatPermissions', 'ChatMemberStatus' => 'ChatMemberStatus', 'chatMemberStatusCreator' => 'ChatMemberStatus::Creator', 'chatMemberStatusAdministrator' => 'ChatMemberStatus::Administrator', 'chatMemberStatusMember' => 'ChatMemberStatus::Member', 'chatMemberStatusRestricted' => 'ChatMemberStatus::Restricted', 'chatMemberStatusLeft' => 'ChatMemberStatus::Left', 'chatMemberStatusBanned' => 'ChatMemberStatus::Banned', 'chatMember' => 'ChatMember', 'chatMembers' => 'ChatMembers', 'ChatMembersFilter' => 'ChatMembersFilter', 'chatMembersFilterContacts' => 'ChatMembersFilter::Contacts', 'chatMembersFilterAdministrators' => 'ChatMembersFilter::Administrators', 'chatMembersFilterMembers' => 'ChatMembersFilter::Members', 'chatMembersFilterMention' => 'ChatMembersFilter::Mention', 'chatMembersFilterRestricted' => 'ChatMembersFilter::Restricted', 'chatMembersFilterBanned' => 'ChatMembersFilter::Banned', 'chatMembersFilterBots' => 'ChatMembersFilter::Bots', 'SupergroupMembersFilter' => 'SupergroupMembersFilter', 'supergroupMembersFilterRecent' => 'SupergroupMembersFilter::Recent', 'supergroupMembersFilterContacts' => 'SupergroupMembersFilter::Contacts', 'supergroupMembersFilterAdministrators' => 'SupergroupMembersFilter::Administrators', 'supergroupMembersFilterSearch' => 'SupergroupMembersFilter::Search', 'supergroupMembersFilterRestricted' => 'SupergroupMembersFilter::Restricted', 'supergroupMembersFilterBanned' => 'SupergroupMembersFilter::Banned', 'supergroupMembersFilterMention' => 'SupergroupMembersFilter::Mention', 'supergroupMembersFilterBots' => 'SupergroupMembersFilter::Bots', 'chatInviteLink' => 'ChatInviteLink', 'chatInviteLinks' => 'ChatInviteLinks', 'chatInviteLinkCount' => 'ChatInviteLinkCount', 'chatInviteLinkCounts' => 'ChatInviteLinkCounts', 'chatInviteLinkMember' => 'ChatInviteLinkMember', 'chatInviteLinkMembers' => 'ChatInviteLinkMembers', 'chatInviteLinkInfo' => 'ChatInviteLinkInfo', 'basicGroup' => 'BasicGroup', 'basicGroupFullInfo' => 'BasicGroupFullInfo', 'supergroup' => 'Supergroup', 'supergroupFullInfo' => 'SupergroupFullInfo', 'SecretChatState' => 'SecretChatState', 'secretChatStatePending' => 'SecretChatState::Pending', 'secretChatStateReady' => 'SecretChatState::Ready', 'secretChatStateClosed' => 'SecretChatState::Closed', 'secretChat' => 'SecretChat', 'MessageSender' => 'MessageSender', 'messageSenderUser' => 'MessageSender::User', 'messageSenderChat' => 'MessageSender::Chat', 'messageSenders' => 'MessageSenders', 'MessageForwardOrigin' => 'MessageForwardOrigin', 'messageForwardOriginUser' => 'MessageForwardOrigin::User', 'messageForwardOriginChat' => 'MessageForwardOrigin::Chat', 'messageForwardOriginHiddenUser' => 'MessageForwardOrigin::HiddenUser', 'messageForwardOriginChannel' => 'MessageForwardOrigin::Channel', 'messageForwardOriginMessageImport' => 'MessageForwardOrigin::MessageImport', 'messageForwardInfo' => 'MessageForwardInfo', 'messageReplyInfo' => 'MessageReplyInfo', 'messageInteractionInfo' => 'MessageInteractionInfo', 'MessageSendingState' => 'MessageSendingState', 'messageSendingStatePending' => 'MessageSendingState::Pending', 'messageSendingStateFailed' => 'MessageSendingState::Failed', 'message' => 'Message', 'messages' => 'Messages', 'foundMessages' => 'FoundMessages', 'NotificationSettingsScope' => 'NotificationSettingsScope', 'notificationSettingsScopePrivateChats' => 'NotificationSettingsScope::PrivateChats', 'notificationSettingsScopeGroupChats' => 'NotificationSettingsScope::GroupChats', 'notificationSettingsScopeChannelChats' => 'NotificationSettingsScope::ChannelChats', 'chatNotificationSettings' => 'ChatNotificationSettings', 'scopeNotificationSettings' => 'ScopeNotificationSettings', 'draftMessage' => 'DraftMessage', 'ChatType' => 'ChatType', 'chatTypePrivate' => 'ChatType::Private', 'chatTypeBasicGroup' => 'ChatType::BasicGroup', 'chatTypeSupergroup' => 'ChatType::Supergroup', 'chatTypeSecret' => 'ChatType::Secret', 'chatFilter' => 'ChatFilter', 'chatFilterInfo' => 'ChatFilterInfo', 'recommendedChatFilter' => 'RecommendedChatFilter', 'recommendedChatFilters' => 'RecommendedChatFilters', 'ChatList' => 'ChatList', 'chatListMain' => 'ChatList::Main', 'chatListArchive' => 'ChatList::Archive', 'chatListFilter' => 'ChatList::Filter', 'chatLists' => 'ChatLists', 'ChatSource' => 'ChatSource', 'chatSourceMtprotoProxy' => 'ChatSource::MtprotoProxy', 'chatSourcePublicServiceAnnouncement' => 'ChatSource::PublicServiceAnnouncement', 'chatPosition' => 'ChatPosition', 'voiceChat' => 'VoiceChat', 'chat' => 'Chat', 'chats' => 'Chats', 'chatNearby' => 'ChatNearby', 'chatsNearby' => 'ChatsNearby', 'PublicChatType' => 'PublicChatType', 'publicChatTypeHasUsername' => 'PublicChatType::HasUsername', 'publicChatTypeIsLocationBased' => 'PublicChatType::IsLocationBased', 'ChatActionBar' => 'ChatActionBar', 'chatActionBarReportSpam' => 'ChatActionBar::ReportSpam', 'chatActionBarReportUnrelatedLocation' => 'ChatActionBar::ReportUnrelatedLocation', 'chatActionBarInviteMembers' => 'ChatActionBar::InviteMembers', 'chatActionBarReportAddBlock' => 'ChatActionBar::ReportAddBlock', 'chatActionBarAddContact' => 'ChatActionBar::AddContact', 'chatActionBarSharePhoneNumber' => 'ChatActionBar::SharePhoneNumber', 'KeyboardButtonType' => 'KeyboardButtonType', 'keyboardButtonTypeText' => 'KeyboardButtonType::Text', 'keyboardButtonTypeRequestPhoneNumber' => 'KeyboardButtonType::RequestPhoneNumber', 'keyboardButtonTypeRequestLocation' => 'KeyboardButtonType::RequestLocation', 'keyboardButtonTypeRequestPoll' => 'KeyboardButtonType::RequestPoll', 'keyboardButton' => 'KeyboardButton', 'InlineKeyboardButtonType' => 'InlineKeyboardButtonType', 'inlineKeyboardButtonTypeUrl' => 'InlineKeyboardButtonType::Url', 'inlineKeyboardButtonTypeLoginUrl' => 'InlineKeyboardButtonType::LoginUrl', 'inlineKeyboardButtonTypeCallback' => 'InlineKeyboardButtonType::Callback', 'inlineKeyboardButtonTypeCallbackWithPassword' => 'InlineKeyboardButtonType::CallbackWithPassword', 'inlineKeyboardButtonTypeCallbackGame' => 'InlineKeyboardButtonType::CallbackGame', 'inlineKeyboardButtonTypeSwitchInline' => 'InlineKeyboardButtonType::SwitchInline', 'inlineKeyboardButtonTypeBuy' => 'InlineKeyboardButtonType::Buy', 'inlineKeyboardButton' => 'InlineKeyboardButton', 'ReplyMarkup' => 'ReplyMarkup', 'replyMarkupRemoveKeyboard' => 'ReplyMarkup::RemoveKeyboard', 'replyMarkupForceReply' => 'ReplyMarkup::ForceReply', 'replyMarkupShowKeyboard' => 'ReplyMarkup::ShowKeyboard', 'replyMarkupInlineKeyboard' => 'ReplyMarkup::InlineKeyboard', 'LoginUrlInfo' => 'LoginUrlInfo', 'loginUrlInfoOpen' => 'LoginUrlInfo::Open', 'loginUrlInfoRequestConfirmation' => 'LoginUrlInfo::RequestConfirmation', 'messageThreadInfo' => 'MessageThreadInfo', 'RichText' => 'RichText', 'richTextPlain' => 'RichText::Plain', 'richTextBold' => 'RichText::Bold', 'richTextItalic' => 'RichText::Italic', 'richTextUnderline' => 'RichText::Underline', 'richTextStrikethrough' => 'RichText::Strikethrough', 'richTextFixed' => 'RichText::Fixed', 'richTextUrl' => 'RichText::Url', 'richTextEmailAddress' => 'RichText::EmailAddress', 'richTextSubscript' => 'RichText::Subscript', 'richTextSuperscript' => 'RichText::Superscript', 'richTextMarked' => 'RichText::Marked', 'richTextPhoneNumber' => 'RichText::PhoneNumber', 'richTextIcon' => 'RichText::Icon', 'richTextReference' => 'RichText::Reference', 'richTextAnchor' => 'RichText::Anchor', 'richTextAnchorLink' => 'RichText::AnchorLink', 'richTexts' => 'RichText::s', 'pageBlockCaption' => 'PageBlockCaption', 'pageBlockListItem' => 'PageBlockListItem', 'PageBlockHorizontalAlignment' => 'PageBlockHorizontalAlignment', 'pageBlockHorizontalAlignmentLeft' => 'PageBlockHorizontalAlignment::Left', 'pageBlockHorizontalAlignmentCenter' => 'PageBlockHorizontalAlignment::Center', 'pageBlockHorizontalAlignmentRight' => 'PageBlockHorizontalAlignment::Right', 'PageBlockVerticalAlignment' => 'PageBlockVerticalAlignment', 'pageBlockVerticalAlignmentTop' => 'PageBlockVerticalAlignment::Top', 'pageBlockVerticalAlignmentMiddle' => 'PageBlockVerticalAlignment::Middle', 'pageBlockVerticalAlignmentBottom' => 'PageBlockVerticalAlignment::Bottom', 'pageBlockTableCell' => 'PageBlockTableCell', 'pageBlockRelatedArticle' => 'PageBlockRelatedArticle', 'PageBlock' => 'PageBlock', 'pageBlockTitle' => 'PageBlock::Title', 'pageBlockSubtitle' => 'PageBlock::Subtitle', 'pageBlockAuthorDate' => 'PageBlock::AuthorDate', 'pageBlockHeader' => 'PageBlock::Header', 'pageBlockSubheader' => 'PageBlock::Subheader', 'pageBlockKicker' => 'PageBlock::Kicker', 'pageBlockParagraph' => 'PageBlock::Paragraph', 'pageBlockPreformatted' => 'PageBlock::Preformatted', 'pageBlockFooter' => 'PageBlock::Footer', 'pageBlockDivider' => 'PageBlock::Divider', 'pageBlockAnchor' => 'PageBlock::Anchor', 'pageBlockList' => 'PageBlock::List', 'pageBlockBlockQuote' => 'PageBlock::BlockQuote', 'pageBlockPullQuote' => 'PageBlock::PullQuote', 'pageBlockAnimation' => 'PageBlock::Animation', 'pageBlockAudio' => 'PageBlock::Audio', 'pageBlockPhoto' => 'PageBlock::Photo', 'pageBlockVideo' => 'PageBlock::Video', 'pageBlockVoiceNote' => 'PageBlock::VoiceNote', 'pageBlockCover' => 'PageBlock::Cover', 'pageBlockEmbedded' => 'PageBlock::Embedded', 'pageBlockEmbeddedPost' => 'PageBlock::EmbeddedPost', 'pageBlockCollage' => 'PageBlock::Collage', 'pageBlockSlideshow' => 'PageBlock::Slideshow', 'pageBlockChatLink' => 'PageBlock::ChatLink', 'pageBlockTable' => 'PageBlock::Table', 'pageBlockDetails' => 'PageBlock::Details', 'pageBlockRelatedArticles' => 'PageBlock::RelatedArticles', 'pageBlockMap' => 'PageBlock::Map', 'webPageInstantView' => 'WebPageInstantView', 'webPage' => 'WebPage', 'countryInfo' => 'CountryInfo', 'countries' => 'Countries', 'phoneNumberInfo' => 'PhoneNumberInfo', 'bankCardActionOpenUrl' => 'BankCardActionOpenUrl', 'bankCardInfo' => 'BankCardInfo', 'address' => 'Address', 'labeledPricePart' => 'LabeledPricePart', 'invoice' => 'Invoice', 'orderInfo' => 'OrderInfo', 'shippingOption' => 'ShippingOption', 'savedCredentials' => 'SavedCredentials', 'InputCredentials' => 'InputCredentials', 'inputCredentialsSaved' => 'InputCredentials::Saved', 'inputCredentialsNew' => 'InputCredentials::New', 'inputCredentialsApplePay' => 'InputCredentials::ApplePay', 'inputCredentialsGooglePay' => 'InputCredentials::GooglePay', 'paymentsProviderStripe' => 'PaymentsProviderStripe', 'paymentFormTheme' => 'PaymentFormTheme', 'paymentForm' => 'PaymentForm', 'validatedOrderInfo' => 'ValidatedOrderInfo', 'paymentResult' => 'PaymentResult', 'paymentReceipt' => 'PaymentReceipt', 'datedFile' => 'DatedFile', 'PassportElementType' => 'PassportElementType', 'passportElementTypePersonalDetails' => 'PassportElementType::PersonalDetails', 'passportElementTypePassport' => 'PassportElementType::Passport', 'passportElementTypeDriverLicense' => 'PassportElementType::DriverLicense', 'passportElementTypeIdentityCard' => 'PassportElementType::IdentityCard', 'passportElementTypeInternalPassport' => 'PassportElementType::InternalPassport', 'passportElementTypeAddress' => 'PassportElementType::Address', 'passportElementTypeUtilityBill' => 'PassportElementType::UtilityBill', 'passportElementTypeBankStatement' => 'PassportElementType::BankStatement', 'passportElementTypeRentalAgreement' => 'PassportElementType::RentalAgreement', 'passportElementTypePassportRegistration' => 'PassportElementType::PassportRegistration', 'passportElementTypeTemporaryRegistration' => 'PassportElementType::TemporaryRegistration', 'passportElementTypePhoneNumber' => 'PassportElementType::PhoneNumber', 'passportElementTypeEmailAddress' => 'PassportElementType::EmailAddress', 'date' => 'Date', 'personalDetails' => 'PersonalDetails', 'identityDocument' => 'IdentityDocument', 'inputIdentityDocument' => 'InputIdentityDocument', 'personalDocument' => 'PersonalDocument', 'inputPersonalDocument' => 'InputPersonalDocument', 'PassportElement' => 'PassportElement', 'passportElementPersonalDetails' => 'PassportElement::PersonalDetails', 'passportElementPassport' => 'PassportElement::Passport', 'passportElementDriverLicense' => 'PassportElement::DriverLicense', 'passportElementIdentityCard' => 'PassportElement::IdentityCard', 'passportElementInternalPassport' => 'PassportElement::InternalPassport', 'passportElementAddress' => 'PassportElement::Address', 'passportElementUtilityBill' => 'PassportElement::UtilityBill', 'passportElementBankStatement' => 'PassportElement::BankStatement', 'passportElementRentalAgreement' => 'PassportElement::RentalAgreement', 'passportElementPassportRegistration' => 'PassportElement::PassportRegistration', 'passportElementTemporaryRegistration' => 'PassportElement::TemporaryRegistration', 'passportElementPhoneNumber' => 'PassportElement::PhoneNumber', 'passportElementEmailAddress' => 'PassportElement::EmailAddress', 'InputPassportElement' => 'InputPassportElement', 'inputPassportElementPersonalDetails' => 'InputPassportElement::PersonalDetails', 'inputPassportElementPassport' => 'InputPassportElement::Passport', 'inputPassportElementDriverLicense' => 'InputPassportElement::DriverLicense', 'inputPassportElementIdentityCard' => 'InputPassportElement::IdentityCard', 'inputPassportElementInternalPassport' => 'InputPassportElement::InternalPassport', 'inputPassportElementAddress' => 'InputPassportElement::Address', 'inputPassportElementUtilityBill' => 'InputPassportElement::UtilityBill', 'inputPassportElementBankStatement' => 'InputPassportElement::BankStatement', 'inputPassportElementRentalAgreement' => 'InputPassportElement::RentalAgreement', 'inputPassportElementPassportRegistration' => 'InputPassportElement::PassportRegistration', 'inputPassportElementTemporaryRegistration' => 'InputPassportElement::TemporaryRegistration', 'inputPassportElementPhoneNumber' => 'InputPassportElement::PhoneNumber', 'inputPassportElementEmailAddress' => 'InputPassportElement::EmailAddress', 'passportElements' => 'PassportElements', 'PassportElementErrorSource' => 'PassportElementErrorSource', 'passportElementErrorSourceUnspecified' => 'PassportElementErrorSource::Unspecified', 'passportElementErrorSourceDataField' => 'PassportElementErrorSource::DataField', 'passportElementErrorSourceFrontSide' => 'PassportElementErrorSource::FrontSide', 'passportElementErrorSourceReverseSide' => 'PassportElementErrorSource::ReverseSide', 'passportElementErrorSourceSelfie' => 'PassportElementErrorSource::Selfie', 'passportElementErrorSourceTranslationFile' => 'PassportElementErrorSource::TranslationFile', 'passportElementErrorSourceTranslationFiles' => 'PassportElementErrorSource::TranslationFiles', 'passportElementErrorSourceFile' => 'PassportElementErrorSource::File', 'passportElementErrorSourceFiles' => 'PassportElementErrorSource::Files', 'passportElementError' => 'PassportElementError', 'passportSuitableElement' => 'PassportSuitableElement', 'passportRequiredElement' => 'PassportRequiredElement', 'passportAuthorizationForm' => 'PassportAuthorizationForm', 'passportElementsWithErrors' => 'PassportElementsWithErrors', 'encryptedCredentials' => 'EncryptedCredentials', 'encryptedPassportElement' => 'EncryptedPassportElement', 'InputPassportElementErrorSource' => 'InputPassportElementErrorSource', 'inputPassportElementErrorSourceUnspecified' => 'InputPassportElementErrorSource::Unspecified', 'inputPassportElementErrorSourceDataField' => 'InputPassportElementErrorSource::DataField', 'inputPassportElementErrorSourceFrontSide' => 'InputPassportElementErrorSource::FrontSide', 'inputPassportElementErrorSourceReverseSide' => 'InputPassportElementErrorSource::ReverseSide', 'inputPassportElementErrorSourceSelfie' => 'InputPassportElementErrorSource::Selfie', 'inputPassportElementErrorSourceTranslationFile' => 'InputPassportElementErrorSource::TranslationFile', 'inputPassportElementErrorSourceTranslationFiles' => 'InputPassportElementErrorSource::TranslationFiles', 'inputPassportElementErrorSourceFile' => 'InputPassportElementErrorSource::File', 'inputPassportElementErrorSourceFiles' => 'InputPassportElementErrorSource::Files', 'inputPassportElementError' => 'InputPassportElementError', 'MessageContent' => 'MessageContent', 'messageText' => 'MessageContent::Text', 'messageAnimation' => 'MessageContent::Animation', 'messageAudio' => 'MessageContent::Audio', 'messageDocument' => 'MessageContent::Document', 'messagePhoto' => 'MessageContent::Photo', 'messageExpiredPhoto' => 'MessageContent::ExpiredPhoto', 'messageSticker' => 'MessageContent::Sticker', 'messageVideo' => 'MessageContent::Video', 'messageExpiredVideo' => 'MessageContent::ExpiredVideo', 'messageVideoNote' => 'MessageContent::VideoNote', 'messageVoiceNote' => 'MessageContent::VoiceNote', 'messageLocation' => 'MessageContent::Location', 'messageVenue' => 'MessageContent::Venue', 'messageContact' => 'MessageContent::Contact', 'messageDice' => 'MessageContent::Dice', 'messageGame' => 'MessageContent::Game', 'messagePoll' => 'MessageContent::Poll', 'messageInvoice' => 'MessageContent::Invoice', 'messageCall' => 'MessageContent::Call', 'messageVoiceChatScheduled' => 'MessageContent::VoiceChatScheduled', 'messageVoiceChatStarted' => 'MessageContent::VoiceChatStarted', 'messageVoiceChatEnded' => 'MessageContent::VoiceChatEnded', 'messageInviteVoiceChatParticipants' => 'MessageContent::InviteVoiceChatParticipants', 'messageBasicGroupChatCreate' => 'MessageContent::BasicGroupChatCreate', 'messageSupergroupChatCreate' => 'MessageContent::SupergroupChatCreate', 'messageChatChangeTitle' => 'MessageContent::ChatChangeTitle', 'messageChatChangePhoto' => 'MessageContent::ChatChangePhoto', 'messageChatDeletePhoto' => 'MessageContent::ChatDeletePhoto', 'messageChatAddMembers' => 'MessageContent::ChatAddMembers', 'messageChatJoinByLink' => 'MessageContent::ChatJoinByLink', 'messageChatDeleteMember' => 'MessageContent::ChatDeleteMember', 'messageChatUpgradeTo' => 'MessageContent::ChatUpgradeTo', 'messageChatUpgradeFrom' => 'MessageContent::ChatUpgradeFrom', 'messagePinMessage' => 'MessageContent::PinMessage', 'messageScreenshotTaken' => 'MessageContent::ScreenshotTaken', 'messageChatSetTtl' => 'MessageContent::ChatSetTtl', 'messageCustomServiceAction' => 'MessageContent::CustomServiceAction', 'messageGameScore' => 'MessageContent::GameScore', 'messagePaymentSuccessful' => 'MessageContent::PaymentSuccessful', 'messagePaymentSuccessfulBot' => 'MessageContent::PaymentSuccessfulBot', 'messageContactRegistered' => 'MessageContent::ContactRegistered', 'messageWebsiteConnected' => 'MessageContent::WebsiteConnected', 'messagePassportDataSent' => 'MessageContent::PassportDataSent', 'messagePassportDataReceived' => 'MessageContent::PassportDataReceived', 'messageProximityAlertTriggered' => 'MessageContent::ProximityAlertTriggered', 'messageUnsupported' => 'MessageContent::Unsupported', 'TextEntityType' => 'TextEntityType', 'textEntityTypeMention' => 'TextEntityType::Mention', 'textEntityTypeHashtag' => 'TextEntityType::Hashtag', 'textEntityTypeCashtag' => 'TextEntityType::Cashtag', 'textEntityTypeBotCommand' => 'TextEntityType::BotCommand', 'textEntityTypeUrl' => 'TextEntityType::Url', 'textEntityTypeEmailAddress' => 'TextEntityType::EmailAddress', 'textEntityTypePhoneNumber' => 'TextEntityType::PhoneNumber', 'textEntityTypeBankCardNumber' => 'TextEntityType::BankCardNumber', 'textEntityTypeBold' => 'TextEntityType::Bold', 'textEntityTypeItalic' => 'TextEntityType::Italic', 'textEntityTypeUnderline' => 'TextEntityType::Underline', 'textEntityTypeStrikethrough' => 'TextEntityType::Strikethrough', 'textEntityTypeCode' => 'TextEntityType::Code', 'textEntityTypePre' => 'TextEntityType::Pre', 'textEntityTypePreCode' => 'TextEntityType::PreCode', 'textEntityTypeTextUrl' => 'TextEntityType::TextUrl', 'textEntityTypeMentionName' => 'TextEntityType::MentionName', 'inputThumbnail' => 'InputThumbnail', 'MessageSchedulingState' => 'MessageSchedulingState', 'messageSchedulingStateSendAtDate' => 'MessageSchedulingState::SendAtDate', 'messageSchedulingStateSendWhenOnline' => 'MessageSchedulingState::SendWhenOnline', 'messageSendOptions' => 'MessageSendOptions', 'messageCopyOptions' => 'MessageCopyOptions', 'InputMessageContent' => 'InputMessageContent', 'inputMessageText' => 'InputMessageContent::Text', 'inputMessageAnimation' => 'InputMessageContent::Animation', 'inputMessageAudio' => 'InputMessageContent::Audio', 'inputMessageDocument' => 'InputMessageContent::Document', 'inputMessagePhoto' => 'InputMessageContent::Photo', 'inputMessageSticker' => 'InputMessageContent::Sticker', 'inputMessageVideo' => 'InputMessageContent::Video', 'inputMessageVideoNote' => 'InputMessageContent::VideoNote', 'inputMessageVoiceNote' => 'InputMessageContent::VoiceNote', 'inputMessageLocation' => 'InputMessageContent::Location', 'inputMessageVenue' => 'InputMessageContent::Venue', 'inputMessageContact' => 'InputMessageContent::Contact', 'inputMessageDice' => 'InputMessageContent::Dice', 'inputMessageGame' => 'InputMessageContent::Game', 'inputMessageInvoice' => 'InputMessageContent::Invoice', 'inputMessagePoll' => 'InputMessageContent::Poll', 'inputMessageForwarded' => 'InputMessageContent::Forwarded', 'SearchMessagesFilter' => 'SearchMessagesFilter', 'searchMessagesFilterEmpty' => 'SearchMessagesFilter::Empty', 'searchMessagesFilterAnimation' => 'SearchMessagesFilter::Animation', 'searchMessagesFilterAudio' => 'SearchMessagesFilter::Audio', 'searchMessagesFilterDocument' => 'SearchMessagesFilter::Document', 'searchMessagesFilterPhoto' => 'SearchMessagesFilter::Photo', 'searchMessagesFilterVideo' => 'SearchMessagesFilter::Video', 'searchMessagesFilterVoiceNote' => 'SearchMessagesFilter::VoiceNote', 'searchMessagesFilterPhotoAndVideo' => 'SearchMessagesFilter::PhotoAndVideo', 'searchMessagesFilterUrl' => 'SearchMessagesFilter::Url', 'searchMessagesFilterChatPhoto' => 'SearchMessagesFilter::ChatPhoto', 'searchMessagesFilterCall' => 'SearchMessagesFilter::Call', 'searchMessagesFilterMissedCall' => 'SearchMessagesFilter::MissedCall', 'searchMessagesFilterVideoNote' => 'SearchMessagesFilter::VideoNote', 'searchMessagesFilterVoiceAndVideoNote' => 'SearchMessagesFilter::VoiceAndVideoNote', 'searchMessagesFilterMention' => 'SearchMessagesFilter::Mention', 'searchMessagesFilterUnreadMention' => 'SearchMessagesFilter::UnreadMention', 'searchMessagesFilterFailedToSend' => 'SearchMessagesFilter::FailedToSend', 'searchMessagesFilterPinned' => 'SearchMessagesFilter::Pinned', 'ChatAction' => 'ChatAction', 'chatActionTyping' => 'ChatAction::Typing', 'chatActionRecordingVideo' => 'ChatAction::RecordingVideo', 'chatActionUploadingVideo' => 'ChatAction::UploadingVideo', 'chatActionRecordingVoiceNote' => 'ChatAction::RecordingVoiceNote', 'chatActionUploadingVoiceNote' => 'ChatAction::UploadingVoiceNote', 'chatActionUploadingPhoto' => 'ChatAction::UploadingPhoto', 'chatActionUploadingDocument' => 'ChatAction::UploadingDocument', 'chatActionChoosingLocation' => 'ChatAction::ChoosingLocation', 'chatActionChoosingContact' => 'ChatAction::ChoosingContact', 'chatActionStartPlayingGame' => 'ChatAction::StartPlayingGame', 'chatActionRecordingVideoNote' => 'ChatAction::RecordingVideoNote', 'chatActionUploadingVideoNote' => 'ChatAction::UploadingVideoNote', 'chatActionCancel' => 'ChatAction::Cancel', 'UserStatus' => 'UserStatus', 'userStatusEmpty' => 'UserStatus::Empty', 'userStatusOnline' => 'UserStatus::Online', 'userStatusOffline' => 'UserStatus::Offline', 'userStatusRecently' => 'UserStatus::Recently', 'userStatusLastWeek' => 'UserStatus::LastWeek', 'userStatusLastMonth' => 'UserStatus::LastMonth', 'stickers' => 'Stickers', 'emojis' => 'Emojis', 'stickerSet' => 'StickerSet', 'stickerSetInfo' => 'StickerSetInfo', 'stickerSets' => 'StickerSets', 'CallDiscardReason' => 'CallDiscardReason', 'callDiscardReasonEmpty' => 'CallDiscardReason::Empty', 'callDiscardReasonMissed' => 'CallDiscardReason::Missed', 'callDiscardReasonDeclined' => 'CallDiscardReason::Declined', 'callDiscardReasonDisconnected' => 'CallDiscardReason::Disconnected', 'callDiscardReasonHungUp' => 'CallDiscardReason::HungUp', 'callProtocol' => 'CallProtocol', 'CallServerType' => 'CallServerType', 'callServerTypeTelegramReflector' => 'CallServerType::TelegramReflector', 'callServerTypeWebrtc' => 'CallServerType::Webrtc', 'callServer' => 'CallServer', 'callId' => 'CallId', 'groupCallId' => 'GroupCallId', 'CallState' => 'CallState', 'callStatePending' => 'CallState::Pending', 'callStateExchangingKeys' => 'CallState::ExchangingKeys', 'callStateReady' => 'CallState::Ready', 'callStateHangingUp' => 'CallState::HangingUp', 'callStateDiscarded' => 'CallState::Discarded', 'callStateError' => 'CallState::Error', 'groupCallRecentSpeaker' => 'GroupCallRecentSpeaker', 'groupCall' => 'GroupCall', 'groupCallPayloadFingerprint' => 'GroupCallPayloadFingerprint', 'groupCallPayload' => 'GroupCallPayload', 'groupCallJoinResponseCandidate' => 'GroupCallJoinResponseCandidate', 'GroupCallJoinResponse' => 'GroupCallJoinResponse', 'groupCallJoinResponseWebrtc' => 'GroupCallJoinResponse::Webrtc', 'groupCallJoinResponseStream' => 'GroupCallJoinResponse::Stream', 'groupCallParticipant' => 'GroupCallParticipant', 'CallProblem' => 'CallProblem', 'callProblemEcho' => 'CallProblem::Echo', 'callProblemNoise' => 'CallProblem::Noise', 'callProblemInterruptions' => 'CallProblem::Interruptions', 'callProblemDistortedSpeech' => 'CallProblem::DistortedSpeech', 'callProblemSilentLocal' => 'CallProblem::SilentLocal', 'callProblemSilentRemote' => 'CallProblem::SilentRemote', 'callProblemDropped' => 'CallProblem::Dropped', 'callProblemDistortedVideo' => 'CallProblem::DistortedVideo', 'callProblemPixelatedVideo' => 'CallProblem::PixelatedVideo', 'call' => 'Call', 'phoneNumberAuthenticationSettings' => 'PhoneNumberAuthenticationSettings', 'animations' => 'Animations', 'DiceStickers' => 'DiceStickers', 'diceStickersRegular' => 'DiceStickers::Regular', 'diceStickersSlotMachine' => 'DiceStickers::SlotMachine', 'importedContacts' => 'ImportedContacts', 'httpUrl' => 'HttpUrl', 'InputInlineQueryResult' => 'InputInlineQueryResult', 'inputInlineQueryResultAnimation' => 'InputInlineQueryResult::Animation', 'inputInlineQueryResultArticle' => 'InputInlineQueryResult::Article', 'inputInlineQueryResultAudio' => 'InputInlineQueryResult::Audio', 'inputInlineQueryResultContact' => 'InputInlineQueryResult::Contact', 'inputInlineQueryResultDocument' => 'InputInlineQueryResult::Document', 'inputInlineQueryResultGame' => 'InputInlineQueryResult::Game', 'inputInlineQueryResultLocation' => 'InputInlineQueryResult::Location', 'inputInlineQueryResultPhoto' => 'InputInlineQueryResult::Photo', 'inputInlineQueryResultSticker' => 'InputInlineQueryResult::Sticker', 'inputInlineQueryResultVenue' => 'InputInlineQueryResult::Venue', 'inputInlineQueryResultVideo' => 'InputInlineQueryResult::Video', 'inputInlineQueryResultVoiceNote' => 'InputInlineQueryResult::VoiceNote', 'InlineQueryResult' => 'InlineQueryResult', 'inlineQueryResultArticle' => 'InlineQueryResult::Article', 'inlineQueryResultContact' => 'InlineQueryResult::Contact', 'inlineQueryResultLocation' => 'InlineQueryResult::Location', 'inlineQueryResultVenue' => 'InlineQueryResult::Venue', 'inlineQueryResultGame' => 'InlineQueryResult::Game', 'inlineQueryResultAnimation' => 'InlineQueryResult::Animation', 'inlineQueryResultAudio' => 'InlineQueryResult::Audio', 'inlineQueryResultDocument' => 'InlineQueryResult::Document', 'inlineQueryResultPhoto' => 'InlineQueryResult::Photo', 'inlineQueryResultSticker' => 'InlineQueryResult::Sticker', 'inlineQueryResultVideo' => 'InlineQueryResult::Video', 'inlineQueryResultVoiceNote' => 'InlineQueryResult::VoiceNote', 'inlineQueryResults' => 'InlineQueryResults', 'CallbackQueryPayload' => 'CallbackQueryPayload', 'callbackQueryPayloadData' => 'CallbackQueryPayload::Data', 'callbackQueryPayloadDataWithPassword' => 'CallbackQueryPayload::DataWithPassword', 'callbackQueryPayloadGame' => 'CallbackQueryPayload::Game', 'callbackQueryAnswer' => 'CallbackQueryAnswer', 'customRequestResult' => 'CustomRequestResult', 'gameHighScore' => 'GameHighScore', 'gameHighScores' => 'GameHighScores', 'ChatEventAction' => 'ChatEventAction', 'chatEventMessageEdited' => 'ChatEventAction::MessageEdited', 'chatEventMessageDeleted' => 'ChatEventAction::MessageDeleted', 'chatEventPollStopped' => 'ChatEventAction::PollStopped', 'chatEventMessagePinned' => 'ChatEventAction::MessagePinned', 'chatEventMessageUnpinned' => 'ChatEventAction::MessageUnpinned', 'chatEventMemberJoined' => 'ChatEventAction::MemberJoined', 'chatEventMemberJoinedByInviteLink' => 'ChatEventAction::MemberJoinedByInviteLink', 'chatEventMemberLeft' => 'ChatEventAction::MemberLeft', 'chatEventMemberInvited' => 'ChatEventAction::MemberInvited', 'chatEventMemberPromoted' => 'ChatEventAction::MemberPromoted', 'chatEventMemberRestricted' => 'ChatEventAction::MemberRestricted', 'chatEventTitleChanged' => 'ChatEventAction::TitleChanged', 'chatEventPermissionsChanged' => 'ChatEventAction::PermissionsChanged', 'chatEventDescriptionChanged' => 'ChatEventAction::DescriptionChanged', 'chatEventUsernameChanged' => 'ChatEventAction::UsernameChanged', 'chatEventPhotoChanged' => 'ChatEventAction::PhotoChanged', 'chatEventInvitesToggled' => 'ChatEventAction::InvitesToggled', 'chatEventLinkedChatChanged' => 'ChatEventAction::LinkedChatChanged', 'chatEventSlowModeDelayChanged' => 'ChatEventAction::SlowModeDelayChanged', 'chatEventMessageTtlSettingChanged' => 'ChatEventAction::MessageTtlSettingChanged', 'chatEventSignMessagesToggled' => 'ChatEventAction::SignMessagesToggled', 'chatEventStickerSetChanged' => 'ChatEventAction::StickerSetChanged', 'chatEventLocationChanged' => 'ChatEventAction::LocationChanged', 'chatEventIsAllHistoryAvailableToggled' => 'ChatEventAction::IsAllHistoryAvailableToggled', 'chatEventInviteLinkEdited' => 'ChatEventAction::InviteLinkEdited', 'chatEventInviteLinkRevoked' => 'ChatEventAction::InviteLinkRevoked', 'chatEventInviteLinkDeleted' => 'ChatEventAction::InviteLinkDeleted', 'chatEventVoiceChatCreated' => 'ChatEventAction::VoiceChatCreated', 'chatEventVoiceChatDiscarded' => 'ChatEventAction::VoiceChatDiscarded', 'chatEventVoiceChatParticipantIsMutedToggled' => 'ChatEventAction::VoiceChatParticipantIsMutedToggled', 'chatEventVoiceChatParticipantVolumeLevelChanged' => 'ChatEventAction::VoiceChatParticipantVolumeLevelChanged', 'chatEventVoiceChatMuteNewParticipantsToggled' => 'ChatEventAction::VoiceChatMuteNewParticipantsToggled', 'chatEvent' => 'ChatEvent', 'chatEvents' => 'ChatEvents', 'chatEventLogFilters' => 'ChatEventLogFilters', 'LanguagePackStringValue' => 'LanguagePackStringValue', 'languagePackStringValueOrdinary' => 'LanguagePackStringValue::Ordinary', 'languagePackStringValuePluralized' => 'LanguagePackStringValue::Pluralized', 'languagePackStringValueDeleted' => 'LanguagePackStringValue::Deleted', 'languagePackString' => 'LanguagePackString', 'languagePackStrings' => 'LanguagePackStrings', 'languagePackInfo' => 'LanguagePackInfo', 'localizationTargetInfo' => 'LocalizationTargetInfo', 'DeviceToken' => 'DeviceToken', 'deviceTokenFirebaseCloudMessaging' => 'DeviceToken::FirebaseCloudMessaging', 'deviceTokenApplePush' => 'DeviceToken::ApplePush', 'deviceTokenApplePushVoIP' => 'DeviceToken::ApplePushVoIP', 'deviceTokenWindowsPush' => 'DeviceToken::WindowsPush', 'deviceTokenMicrosoftPush' => 'DeviceToken::MicrosoftPush', 'deviceTokenMicrosoftPushVoIP' => 'DeviceToken::MicrosoftPushVoIP', 'deviceTokenWebPush' => 'DeviceToken::WebPush', 'deviceTokenSimplePush' => 'DeviceToken::SimplePush', 'deviceTokenUbuntuPush' => 'DeviceToken::UbuntuPush', 'deviceTokenBlackBerryPush' => 'DeviceToken::BlackBerryPush', 'deviceTokenTizenPush' => 'DeviceToken::TizenPush', 'pushReceiverId' => 'PushReceiverId', 'BackgroundFill' => 'BackgroundFill', 'backgroundFillSolid' => 'BackgroundFill::Solid', 'backgroundFillGradient' => 'BackgroundFill::Gradient', 'BackgroundType' => 'BackgroundType', 'backgroundTypeWallpaper' => 'BackgroundType::Wallpaper', 'backgroundTypePattern' => 'BackgroundType::Pattern', 'backgroundTypeFill' => 'BackgroundType::Fill', 'background' => 'Background', 'backgrounds' => 'Backgrounds', 'InputBackground' => 'InputBackground', 'inputBackgroundLocal' => 'InputBackground::Local', 'inputBackgroundRemote' => 'InputBackground::Remote', 'hashtags' => 'Hashtags', 'CanTransferOwnershipResult' => 'CanTransferOwnershipResult', 'canTransferOwnershipResultOk' => 'CanTransferOwnershipResult::Ok', 'canTransferOwnershipResultPasswordNeeded' => 'CanTransferOwnershipResult::PasswordNeeded', 'canTransferOwnershipResultPasswordTooFresh' => 'CanTransferOwnershipResult::PasswordTooFresh', 'canTransferOwnershipResultSessionTooFresh' => 'CanTransferOwnershipResult::SessionTooFresh', 'CheckChatUsernameResult' => 'CheckChatUsernameResult', 'checkChatUsernameResultOk' => 'CheckChatUsernameResult::Ok', 'checkChatUsernameResultUsernameInvalid' => 'CheckChatUsernameResult::UsernameInvalid', 'checkChatUsernameResultUsernameOccupied' => 'CheckChatUsernameResult::UsernameOccupied', 'checkChatUsernameResultPublicChatsTooMuch' => 'CheckChatUsernameResult::PublicChatsTooMuch', 'checkChatUsernameResultPublicGroupsUnavailable' => 'CheckChatUsernameResult::PublicGroupsUnavailable', 'MessageFileType' => 'MessageFileType', 'messageFileTypePrivate' => 'MessageFileType::Private', 'messageFileTypeGroup' => 'MessageFileType::Group', 'messageFileTypeUnknown' => 'MessageFileType::Unknown', 'PushMessageContent' => 'PushMessageContent', 'pushMessageContentHidden' => 'PushMessageContent::Hidden', 'pushMessageContentAnimation' => 'PushMessageContent::Animation', 'pushMessageContentAudio' => 'PushMessageContent::Audio', 'pushMessageContentContact' => 'PushMessageContent::Contact', 'pushMessageContentContactRegistered' => 'PushMessageContent::ContactRegistered', 'pushMessageContentDocument' => 'PushMessageContent::Document', 'pushMessageContentGame' => 'PushMessageContent::Game', 'pushMessageContentGameScore' => 'PushMessageContent::GameScore', 'pushMessageContentInvoice' => 'PushMessageContent::Invoice', 'pushMessageContentLocation' => 'PushMessageContent::Location', 'pushMessageContentPhoto' => 'PushMessageContent::Photo', 'pushMessageContentPoll' => 'PushMessageContent::Poll', 'pushMessageContentScreenshotTaken' => 'PushMessageContent::ScreenshotTaken', 'pushMessageContentSticker' => 'PushMessageContent::Sticker', 'pushMessageContentText' => 'PushMessageContent::Text', 'pushMessageContentVideo' => 'PushMessageContent::Video', 'pushMessageContentVideoNote' => 'PushMessageContent::VideoNote', 'pushMessageContentVoiceNote' => 'PushMessageContent::VoiceNote', 'pushMessageContentBasicGroupChatCreate' => 'PushMessageContent::BasicGroupChatCreate', 'pushMessageContentChatAddMembers' => 'PushMessageContent::ChatAddMembers', 'pushMessageContentChatChangePhoto' => 'PushMessageContent::ChatChangePhoto', 'pushMessageContentChatChangeTitle' => 'PushMessageContent::ChatChangeTitle', 'pushMessageContentChatDeleteMember' => 'PushMessageContent::ChatDeleteMember', 'pushMessageContentChatJoinByLink' => 'PushMessageContent::ChatJoinByLink', 'pushMessageContentMessageForwards' => 'PushMessageContent::MessageForwards', 'pushMessageContentMediaAlbum' => 'PushMessageContent::MediaAlbum', 'NotificationType' => 'NotificationType', 'notificationTypeNewMessage' => 'NotificationType::NewMessage', 'notificationTypeNewSecretChat' => 'NotificationType::NewSecretChat', 'notificationTypeNewCall' => 'NotificationType::NewCall', 'notificationTypeNewPushMessage' => 'NotificationType::NewPushMessage', 'NotificationGroupType' => 'NotificationGroupType', 'notificationGroupTypeMessages' => 'NotificationGroupType::Messages', 'notificationGroupTypeMentions' => 'NotificationGroupType::Mentions', 'notificationGroupTypeSecretChat' => 'NotificationGroupType::SecretChat', 'notificationGroupTypeCalls' => 'NotificationGroupType::Calls', 'notification' => 'Notification', 'notificationGroup' => 'NotificationGroup', 'OptionValue' => 'OptionValue', 'optionValueBoolean' => 'OptionValue::Boolean', 'optionValueEmpty' => 'OptionValue::Empty', 'optionValueInteger' => 'OptionValue::Integer', 'optionValueString' => 'OptionValue::String', 'jsonObjectMember' => 'JsonObjectMember', 'JsonValue' => 'JsonValue', 'jsonValueNull' => 'JsonValue::Null', 'jsonValueBoolean' => 'JsonValue::Boolean', 'jsonValueNumber' => 'JsonValue::Number', 'jsonValueString' => 'JsonValue::String', 'jsonValueArray' => 'JsonValue::Array', 'jsonValueObject' => 'JsonValue::Object', 'UserPrivacySettingRule' => 'UserPrivacySettingRule', 'userPrivacySettingRuleAllowAll' => 'UserPrivacySettingRule::AllowAll', 'userPrivacySettingRuleAllowContacts' => 'UserPrivacySettingRule::AllowContacts', 'userPrivacySettingRuleAllowUsers' => 'UserPrivacySettingRule::AllowUsers', 'userPrivacySettingRuleAllowChatMembers' => 'UserPrivacySettingRule::AllowChatMembers', 'userPrivacySettingRuleRestrictAll' => 'UserPrivacySettingRule::RestrictAll', 'userPrivacySettingRuleRestrictContacts' => 'UserPrivacySettingRule::RestrictContacts', 'userPrivacySettingRuleRestrictUsers' => 'UserPrivacySettingRule::RestrictUsers', 'userPrivacySettingRuleRestrictChatMembers' => 'UserPrivacySettingRule::RestrictChatMembers', 'userPrivacySettingRules' => 'UserPrivacySettingRules', 'UserPrivacySetting' => 'UserPrivacySetting', 'userPrivacySettingShowStatus' => 'UserPrivacySetting::ShowStatus', 'userPrivacySettingShowProfilePhoto' => 'UserPrivacySetting::ShowProfilePhoto', 'userPrivacySettingShowLinkInForwardedMessages' => 'UserPrivacySetting::ShowLinkInForwardedMessages', 'userPrivacySettingShowPhoneNumber' => 'UserPrivacySetting::ShowPhoneNumber', 'userPrivacySettingAllowChatInvites' => 'UserPrivacySetting::AllowChatInvites', 'userPrivacySettingAllowCalls' => 'UserPrivacySetting::AllowCalls', 'userPrivacySettingAllowPeerToPeerCalls' => 'UserPrivacySetting::AllowPeerToPeerCalls', 'userPrivacySettingAllowFindingByPhoneNumber' => 'UserPrivacySetting::AllowFindingByPhoneNumber', 'accountTtl' => 'AccountTtl', 'session' => 'Session', 'sessions' => 'Sessions', 'connectedWebsite' => 'ConnectedWebsite', 'connectedWebsites' => 'ConnectedWebsites', 'ChatReportReason' => 'ChatReportReason', 'chatReportReasonSpam' => 'ChatReportReason::Spam', 'chatReportReasonViolence' => 'ChatReportReason::Violence', 'chatReportReasonPornography' => 'ChatReportReason::Pornography', 'chatReportReasonChildAbuse' => 'ChatReportReason::ChildAbuse', 'chatReportReasonCopyright' => 'ChatReportReason::Copyright', 'chatReportReasonUnrelatedLocation' => 'ChatReportReason::UnrelatedLocation', 'chatReportReasonFake' => 'ChatReportReason::Fake', 'chatReportReasonCustom' => 'ChatReportReason::Custom', 'messageLink' => 'MessageLink', 'messageLinkInfo' => 'MessageLinkInfo', 'filePart' => 'FilePart', 'FileType' => 'FileType', 'fileTypeNone' => 'FileType::None', 'fileTypeAnimation' => 'FileType::Animation', 'fileTypeAudio' => 'FileType::Audio', 'fileTypeDocument' => 'FileType::Document', 'fileTypePhoto' => 'FileType::Photo', 'fileTypeProfilePhoto' => 'FileType::ProfilePhoto', 'fileTypeSecret' => 'FileType::Secret', 'fileTypeSecretThumbnail' => 'FileType::SecretThumbnail', 'fileTypeSecure' => 'FileType::Secure', 'fileTypeSticker' => 'FileType::Sticker', 'fileTypeThumbnail' => 'FileType::Thumbnail', 'fileTypeUnknown' => 'FileType::Unknown', 'fileTypeVideo' => 'FileType::Video', 'fileTypeVideoNote' => 'FileType::VideoNote', 'fileTypeVoiceNote' => 'FileType::VoiceNote', 'fileTypeWallpaper' => 'FileType::Wallpaper', 'storageStatisticsByFileType' => 'StorageStatisticsByFileType', 'storageStatisticsByChat' => 'StorageStatisticsByChat', 'storageStatistics' => 'StorageStatistics', 'storageStatisticsFast' => 'StorageStatisticsFast', 'databaseStatistics' => 'DatabaseStatistics', 'NetworkType' => 'NetworkType', 'networkTypeNone' => 'NetworkType::None', 'networkTypeMobile' => 'NetworkType::Mobile', 'networkTypeMobileRoaming' => 'NetworkType::MobileRoaming', 'networkTypeWiFi' => 'NetworkType::WiFi', 'networkTypeOther' => 'NetworkType::Other', 'NetworkStatisticsEntry' => 'NetworkStatisticsEntry', 'networkStatisticsEntryFile' => 'NetworkStatisticsEntry::File', 'networkStatisticsEntryCall' => 'NetworkStatisticsEntry::Call', 'networkStatistics' => 'NetworkStatistics', 'autoDownloadSettings' => 'AutoDownloadSettings', 'autoDownloadSettingsPresets' => 'AutoDownloadSettingsPresets', 'ConnectionState' => 'ConnectionState', 'connectionStateWaitingForNetwork' => 'ConnectionState::WaitingForNetwork', 'connectionStateConnectingToProxy' => 'ConnectionState::ConnectingToProxy', 'connectionStateConnecting' => 'ConnectionState::Connecting', 'connectionStateUpdating' => 'ConnectionState::Updating', 'connectionStateReady' => 'ConnectionState::Ready', 'TopChatCategory' => 'TopChatCategory', 'topChatCategoryUsers' => 'TopChatCategory::Users', 'topChatCategoryBots' => 'TopChatCategory::Bots', 'topChatCategoryGroups' => 'TopChatCategory::Groups', 'topChatCategoryChannels' => 'TopChatCategory::Channels', 'topChatCategoryInlineBots' => 'TopChatCategory::InlineBots', 'topChatCategoryCalls' => 'TopChatCategory::Calls', 'topChatCategoryForwardChats' => 'TopChatCategory::ForwardChats', 'TMeUrlType' => 'TMeUrlType', 'tMeUrlTypeUser' => 'TMeUrlType::User', 'tMeUrlTypeSupergroup' => 'TMeUrlType::Supergroup', 'tMeUrlTypeChatInvite' => 'TMeUrlType::ChatInvite', 'tMeUrlTypeStickerSet' => 'TMeUrlType::StickerSet', 'tMeUrl' => 'TMeUrl', 'tMeUrls' => 'TMeUrls', 'SuggestedAction' => 'SuggestedAction', 'suggestedActionEnableArchiveAndMuteNewChats' => 'SuggestedAction::EnableArchiveAndMuteNewChats', 'suggestedActionCheckPhoneNumber' => 'SuggestedAction::CheckPhoneNumber', 'suggestedActionSeeTicksHint' => 'SuggestedAction::SeeTicksHint', 'suggestedActionConvertToBroadcastGroup' => 'SuggestedAction::ConvertToBroadcastGroup', 'count' => 'Count', 'text' => 'Text', 'seconds' => 'Seconds', 'deepLinkInfo' => 'DeepLinkInfo', 'TextParseMode' => 'TextParseMode', 'textParseModeMarkdown' => 'TextParseMode::Markdown', 'textParseModeHTML' => 'TextParseMode::HTML', 'ProxyType' => 'ProxyType', 'proxyTypeSocks5' => 'ProxyType::Socks5', 'proxyTypeHttp' => 'ProxyType::Http', 'proxyTypeMtproto' => 'ProxyType::Mtproto', 'proxy' => 'Proxy', 'proxies' => 'Proxies', 'InputSticker' => 'InputSticker', 'inputStickerStatic' => 'InputSticker::Static', 'inputStickerAnimated' => 'InputSticker::Animated', 'dateRange' => 'DateRange', 'statisticalValue' => 'StatisticalValue', 'StatisticalGraph' => 'StatisticalGraph', 'statisticalGraphData' => 'StatisticalGraph::Data', 'statisticalGraphAsync' => 'StatisticalGraph::Async', 'statisticalGraphError' => 'StatisticalGraph::Error', 'chatStatisticsMessageInteractionInfo' => 'ChatStatisticsMessageInteractionInfo', 'chatStatisticsMessageSenderInfo' => 'ChatStatisticsMessageSenderInfo', 'chatStatisticsAdministratorActionsInfo' => 'ChatStatisticsAdministratorActionsInfo', 'chatStatisticsInviterInfo' => 'ChatStatisticsInviterInfo', 'ChatStatistics' => 'ChatStatistics', 'chatStatisticsSupergroup' => 'ChatStatistics::Supergroup', 'chatStatisticsChannel' => 'ChatStatistics::Channel', 'messageStatistics' => 'MessageStatistics', 'point' => 'Point', 'VectorPathCommand' => 'VectorPathCommand', 'vectorPathCommandLine' => 'VectorPathCommand::Line', 'vectorPathCommandCubicBezierCurve' => 'VectorPathCommand::CubicBezierCurve', 'Update' => 'Update', 'updateAuthorizationState' => 'Update::AuthorizationState', 'updateNewMessage' => 'Update::NewMessage', 'updateMessageSendAcknowledged' => 'Update::MessageSendAcknowledged', 'updateMessageSendSucceeded' => 'Update::MessageSendSucceeded', 'updateMessageSendFailed' => 'Update::MessageSendFailed', 'updateMessageContent' => 'Update::MessageContent', 'updateMessageEdited' => 'Update::MessageEdited', 'updateMessageIsPinned' => 'Update::MessageIsPinned', 'updateMessageInteractionInfo' => 'Update::MessageInteractionInfo', 'updateMessageContentOpened' => 'Update::MessageContentOpened', 'updateMessageMentionRead' => 'Update::MessageMentionRead', 'updateMessageLiveLocationViewed' => 'Update::MessageLiveLocationViewed', 'updateNewChat' => 'Update::NewChat', 'updateChatTitle' => 'Update::ChatTitle', 'updateChatPhoto' => 'Update::ChatPhoto', 'updateChatPermissions' => 'Update::ChatPermissions', 'updateChatLastMessage' => 'Update::ChatLastMessage', 'updateChatPosition' => 'Update::ChatPosition', 'updateChatIsMarkedAsUnread' => 'Update::ChatIsMarkedAsUnread', 'updateChatIsBlocked' => 'Update::ChatIsBlocked', 'updateChatHasScheduledMessages' => 'Update::ChatHasScheduledMessages', 'updateChatVoiceChat' => 'Update::ChatVoiceChat', 'updateChatDefaultDisableNotification' => 'Update::ChatDefaultDisableNotification', 'updateChatReadInbox' => 'Update::ChatReadInbox', 'updateChatReadOutbox' => 'Update::ChatReadOutbox', 'updateChatUnreadMentionCount' => 'Update::ChatUnreadMentionCount', 'updateChatNotificationSettings' => 'Update::ChatNotificationSettings', 'updateScopeNotificationSettings' => 'Update::ScopeNotificationSettings', 'updateChatMessageTtlSetting' => 'Update::ChatMessageTtlSetting', 'updateChatActionBar' => 'Update::ChatActionBar', 'updateChatReplyMarkup' => 'Update::ChatReplyMarkup', 'updateChatDraftMessage' => 'Update::ChatDraftMessage', 'updateChatFilters' => 'Update::ChatFilters', 'updateChatOnlineMemberCount' => 'Update::ChatOnlineMemberCount', 'updateNotification' => 'Update::Notification', 'updateNotificationGroup' => 'Update::NotificationGroup', 'updateActiveNotifications' => 'Update::ActiveNotifications', 'updateHavePendingNotifications' => 'Update::HavePendingNotifications', 'updateDeleteMessages' => 'Update::DeleteMessages', 'updateUserChatAction' => 'Update::UserChatAction', 'updateUserStatus' => 'Update::UserStatus', 'updateUser' => 'Update::User', 'updateBasicGroup' => 'Update::BasicGroup', 'updateSupergroup' => 'Update::Supergroup', 'updateSecretChat' => 'Update::SecretChat', 'updateUserFullInfo' => 'Update::UserFullInfo', 'updateBasicGroupFullInfo' => 'Update::BasicGroupFullInfo', 'updateSupergroupFullInfo' => 'Update::SupergroupFullInfo', 'updateServiceNotification' => 'Update::ServiceNotification', 'updateFile' => 'Update::File', 'updateFileGenerationStart' => 'Update::FileGenerationStart', 'updateFileGenerationStop' => 'Update::FileGenerationStop', 'updateCall' => 'Update::Call', 'updateGroupCall' => 'Update::GroupCall', 'updateGroupCallParticipant' => 'Update::GroupCallParticipant', 'updateNewCallSignalingData' => 'Update::NewCallSignalingData', 'updateUserPrivacySettingRules' => 'Update::UserPrivacySettingRules', 'updateUnreadMessageCount' => 'Update::UnreadMessageCount', 'updateUnreadChatCount' => 'Update::UnreadChatCount', 'updateOption' => 'Update::Option', 'updateStickerSet' => 'Update::StickerSet', 'updateInstalledStickerSets' => 'Update::InstalledStickerSets', 'updateTrendingStickerSets' => 'Update::TrendingStickerSets', 'updateRecentStickers' => 'Update::RecentStickers', 'updateFavoriteStickers' => 'Update::FavoriteStickers', 'updateSavedAnimations' => 'Update::SavedAnimations', 'updateSelectedBackground' => 'Update::SelectedBackground', 'updateLanguagePackStrings' => 'Update::LanguagePackStrings', 'updateConnectionState' => 'Update::ConnectionState', 'updateTermsOfService' => 'Update::TermsOfService', 'updateUsersNearby' => 'Update::UsersNearby', 'updateDiceEmojis' => 'Update::DiceEmojis', 'updateAnimationSearchParameters' => 'Update::AnimationSearchParameters', 'updateSuggestedActions' => 'Update::SuggestedActions', 'updateNewInlineQuery' => 'Update::NewInlineQuery', 'updateNewChosenInlineResult' => 'Update::NewChosenInlineResult', 'updateNewCallbackQuery' => 'Update::NewCallbackQuery', 'updateNewInlineCallbackQuery' => 'Update::NewInlineCallbackQuery', 'updateNewShippingQuery' => 'Update::NewShippingQuery', 'updateNewPreCheckoutQuery' => 'Update::NewPreCheckoutQuery', 'updateNewCustomEvent' => 'Update::NewCustomEvent', 'updateNewCustomQuery' => 'Update::NewCustomQuery', 'updatePoll' => 'Update::Poll', 'updatePollAnswer' => 'Update::PollAnswer', 'updateChatMember' => 'Update::ChatMember', 'updates' => 'Updates', 'LogStream' => 'LogStream', 'logStreamDefault' => 'LogStream::Default', 'logStreamFile' => 'LogStream::File', 'logStreamEmpty' => 'LogStream::Empty', 'logVerbosityLevel' => 'LogVerbosityLevel', 'logTags' => 'LogTags' }.freeze
Class Method Summary collapse
-
.camelize(str) ⇒ Object
Simple implementation for internal use only.
-
.wrap(object) ⇒ Object
Recursively wraps a hash into typed classes.
Class Method Details
.camelize(str) ⇒ Object
Simple implementation for internal use only.
998 999 1000 |
# File 'lib/tdlib/types.rb', line 998 def camelize(str) str.gsub(/(?:_|(\/)|^)([a-z\d]*)/i) { "#{$1}#{$2.capitalize}" } end |
.wrap(object) ⇒ Object
Recursively wraps a hash into typed classes
970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 |
# File 'lib/tdlib/types.rb', line 970 def wrap(object) # Wrapping each entry in array if object.kind_of?(::Array) object.map { |o| wrap(o) } elsif object.kind_of?(::Hash) type = object.delete('@type') object.each do |key, val| if val.respond_to?(:each) object[key] = wrap(val) end end unless type return object end if (klass = LOOKUP_TABLE[type]) const_get(klass).new(object) else raise ArgumentError.new("Can't find class for #{type}") end else object end end |