tdlib-ruby 2.2.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.gitmodules +0 -3
- data/.travis.yml +5 -2
- data/bin/build +2 -2
- data/lib/tdlib-ruby.rb +3 -3
- data/lib/tdlib/client.rb +2 -2
- data/lib/tdlib/update_handler.rb +3 -0
- data/lib/tdlib/version.rb +1 -1
- data/spec/integration/tdlib_spec.rb +1 -1
- data/tdlib-ruby.gemspec +1 -3
- metadata +17 -875
- data/bin/parser +0 -467
- data/lib/tdlib/client_methods.rb +0 -4244
- data/lib/tdlib/types.rb +0 -1109
- data/lib/tdlib/types/account_ttl.rb +0 -10
- data/lib/tdlib/types/address.rb +0 -18
- data/lib/tdlib/types/animation.rb +0 -23
- data/lib/tdlib/types/animations.rb +0 -8
- data/lib/tdlib/types/audio.rb +0 -24
- data/lib/tdlib/types/authentication_code_info.rb +0 -15
- data/lib/tdlib/types/authentication_code_type.rb +0 -13
- data/lib/tdlib/types/authentication_code_type/call.rb +0 -8
- data/lib/tdlib/types/authentication_code_type/flash_call.rb +0 -9
- data/lib/tdlib/types/authentication_code_type/sms.rb +0 -8
- data/lib/tdlib/types/authentication_code_type/telegram_message.rb +0 -8
- data/lib/tdlib/types/authorization_state.rb +0 -20
- data/lib/tdlib/types/authorization_state/closed.rb +0 -9
- data/lib/tdlib/types/authorization_state/closing.rb +0 -7
- data/lib/tdlib/types/authorization_state/logging_out.rb +0 -5
- data/lib/tdlib/types/authorization_state/ready.rb +0 -6
- data/lib/tdlib/types/authorization_state/wait_code.rb +0 -8
- data/lib/tdlib/types/authorization_state/wait_encryption_key.rb +0 -8
- data/lib/tdlib/types/authorization_state/wait_other_device_confirmation.rb +0 -9
- data/lib/tdlib/types/authorization_state/wait_password.rb +0 -13
- data/lib/tdlib/types/authorization_state/wait_phone_number.rb +0 -7
- data/lib/tdlib/types/authorization_state/wait_registration.rb +0 -9
- data/lib/tdlib/types/authorization_state/wait_tdlib_parameters.rb +0 -5
- data/lib/tdlib/types/auto_download_settings.rb +0 -23
- data/lib/tdlib/types/auto_download_settings_presets.rb +0 -15
- data/lib/tdlib/types/background.rb +0 -19
- data/lib/tdlib/types/background_fill.rb +0 -11
- data/lib/tdlib/types/background_fill/gradient.rb +0 -13
- data/lib/tdlib/types/background_fill/solid.rb +0 -8
- data/lib/tdlib/types/background_type.rb +0 -12
- data/lib/tdlib/types/background_type/fill.rb +0 -8
- data/lib/tdlib/types/background_type/pattern.rb +0 -13
- data/lib/tdlib/types/background_type/wallpaper.rb +0 -11
- data/lib/tdlib/types/backgrounds.rb +0 -8
- data/lib/tdlib/types/base.rb +0 -29
- data/lib/tdlib/types/basic_group.rb +0 -16
- data/lib/tdlib/types/basic_group_full_info.rb +0 -15
- data/lib/tdlib/types/bot_command.rb +0 -10
- data/lib/tdlib/types/bot_info.rb +0 -10
- data/lib/tdlib/types/call.rb +0 -14
- data/lib/tdlib/types/call_connection.rb +0 -16
- data/lib/tdlib/types/call_discard_reason.rb +0 -14
- data/lib/tdlib/types/call_discard_reason/declined.rb +0 -6
- data/lib/tdlib/types/call_discard_reason/disconnected.rb +0 -5
- data/lib/tdlib/types/call_discard_reason/empty.rb +0 -5
- data/lib/tdlib/types/call_discard_reason/hung_up.rb +0 -5
- data/lib/tdlib/types/call_discard_reason/missed.rb +0 -6
- data/lib/tdlib/types/call_id.rb +0 -8
- data/lib/tdlib/types/call_problem.rb +0 -16
- data/lib/tdlib/types/call_problem/distorted_speech.rb +0 -5
- data/lib/tdlib/types/call_problem/dropped.rb +0 -5
- data/lib/tdlib/types/call_problem/echo.rb +0 -5
- data/lib/tdlib/types/call_problem/interruptions.rb +0 -5
- data/lib/tdlib/types/call_problem/noise.rb +0 -5
- data/lib/tdlib/types/call_problem/silent_local.rb +0 -5
- data/lib/tdlib/types/call_problem/silent_remote.rb +0 -5
- data/lib/tdlib/types/call_protocol.rb +0 -14
- data/lib/tdlib/types/call_state.rb +0 -15
- data/lib/tdlib/types/call_state/discarded.rb +0 -12
- data/lib/tdlib/types/call_state/error.rb +0 -9
- data/lib/tdlib/types/call_state/exchanging_keys.rb +0 -5
- data/lib/tdlib/types/call_state/hanging_up.rb +0 -5
- data/lib/tdlib/types/call_state/pending.rb +0 -10
- data/lib/tdlib/types/call_state/ready.rb +0 -18
- data/lib/tdlib/types/callback_query_answer.rb +0 -12
- data/lib/tdlib/types/callback_query_payload.rb +0 -11
- data/lib/tdlib/types/callback_query_payload/data.rb +0 -8
- data/lib/tdlib/types/callback_query_payload/game.rb +0 -8
- data/lib/tdlib/types/can_transfer_ownership_result.rb +0 -13
- data/lib/tdlib/types/can_transfer_ownership_result/ok.rb +0 -5
- data/lib/tdlib/types/can_transfer_ownership_result/password_needed.rb +0 -5
- data/lib/tdlib/types/can_transfer_ownership_result/password_too_fresh.rb +0 -8
- data/lib/tdlib/types/can_transfer_ownership_result/session_too_fresh.rb +0 -8
- data/lib/tdlib/types/chat.rb +0 -68
- data/lib/tdlib/types/chat_action.rb +0 -22
- data/lib/tdlib/types/chat_action/cancel.rb +0 -5
- data/lib/tdlib/types/chat_action/choosing_contact.rb +0 -5
- data/lib/tdlib/types/chat_action/choosing_location.rb +0 -5
- data/lib/tdlib/types/chat_action/recording_video.rb +0 -5
- data/lib/tdlib/types/chat_action/recording_video_note.rb +0 -5
- data/lib/tdlib/types/chat_action/recording_voice_note.rb +0 -5
- data/lib/tdlib/types/chat_action/start_playing_game.rb +0 -5
- data/lib/tdlib/types/chat_action/typing.rb +0 -5
- data/lib/tdlib/types/chat_action/uploading_document.rb +0 -8
- data/lib/tdlib/types/chat_action/uploading_photo.rb +0 -8
- data/lib/tdlib/types/chat_action/uploading_video.rb +0 -8
- data/lib/tdlib/types/chat_action/uploading_video_note.rb +0 -8
- data/lib/tdlib/types/chat_action/uploading_voice_note.rb +0 -8
- data/lib/tdlib/types/chat_action_bar.rb +0 -14
- data/lib/tdlib/types/chat_action_bar/add_contact.rb +0 -6
- data/lib/tdlib/types/chat_action_bar/report_add_block.rb +0 -6
- data/lib/tdlib/types/chat_action_bar/report_spam.rb +0 -5
- data/lib/tdlib/types/chat_action_bar/report_unrelated_location.rb +0 -6
- data/lib/tdlib/types/chat_action_bar/share_phone_number.rb +0 -6
- data/lib/tdlib/types/chat_administrator.rb +0 -12
- data/lib/tdlib/types/chat_administrators.rb +0 -8
- data/lib/tdlib/types/chat_event.rb +0 -14
- data/lib/tdlib/types/chat_event_action.rb +0 -31
- data/lib/tdlib/types/chat_event_action/description_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/invites_toggled.rb +0 -8
- data/lib/tdlib/types/chat_event_action/is_all_history_available_toggled.rb +0 -8
- data/lib/tdlib/types/chat_event_action/linked_chat_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/location_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/member_invited.rb +0 -10
- data/lib/tdlib/types/chat_event_action/member_joined.rb +0 -5
- data/lib/tdlib/types/chat_event_action/member_left.rb +0 -5
- data/lib/tdlib/types/chat_event_action/member_promoted.rb +0 -12
- data/lib/tdlib/types/chat_event_action/member_restricted.rb +0 -12
- data/lib/tdlib/types/chat_event_action/message_deleted.rb +0 -8
- data/lib/tdlib/types/chat_event_action/message_edited.rb +0 -10
- data/lib/tdlib/types/chat_event_action/message_pinned.rb +0 -8
- data/lib/tdlib/types/chat_event_action/message_unpinned.rb +0 -5
- data/lib/tdlib/types/chat_event_action/permissions_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/photo_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/poll_stopped.rb +0 -8
- data/lib/tdlib/types/chat_event_action/sign_messages_toggled.rb +0 -8
- data/lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/sticker_set_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/title_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_action/username_changed.rb +0 -10
- data/lib/tdlib/types/chat_event_log_filters.rb +0 -27
- data/lib/tdlib/types/chat_events.rb +0 -8
- data/lib/tdlib/types/chat_invite_link.rb +0 -8
- data/lib/tdlib/types/chat_invite_link_info.rb +0 -21
- data/lib/tdlib/types/chat_list.rb +0 -11
- data/lib/tdlib/types/chat_list/archive.rb +0 -6
- data/lib/tdlib/types/chat_list/main.rb +0 -5
- data/lib/tdlib/types/chat_location.rb +0 -10
- data/lib/tdlib/types/chat_member.rb +0 -18
- data/lib/tdlib/types/chat_member_status.rb +0 -15
- data/lib/tdlib/types/chat_member_status/administrator.rb +0 -32
- data/lib/tdlib/types/chat_member_status/banned.rb +0 -11
- data/lib/tdlib/types/chat_member_status/creator.rb +0 -11
- data/lib/tdlib/types/chat_member_status/left.rb +0 -5
- data/lib/tdlib/types/chat_member_status/member.rb +0 -5
- data/lib/tdlib/types/chat_member_status/restricted.rb +0 -16
- data/lib/tdlib/types/chat_members.rb +0 -10
- data/lib/tdlib/types/chat_members_filter.rb +0 -15
- data/lib/tdlib/types/chat_members_filter/administrators.rb +0 -5
- data/lib/tdlib/types/chat_members_filter/banned.rb +0 -5
- data/lib/tdlib/types/chat_members_filter/bots.rb +0 -5
- data/lib/tdlib/types/chat_members_filter/contacts.rb +0 -5
- data/lib/tdlib/types/chat_members_filter/members.rb +0 -5
- data/lib/tdlib/types/chat_members_filter/restricted.rb +0 -5
- data/lib/tdlib/types/chat_nearby.rb +0 -10
- data/lib/tdlib/types/chat_notification_settings.rb +0 -34
- data/lib/tdlib/types/chat_permissions.rb +0 -28
- data/lib/tdlib/types/chat_photo.rb +0 -12
- data/lib/tdlib/types/chat_report_reason.rb +0 -16
- data/lib/tdlib/types/chat_report_reason/child_abuse.rb +0 -5
- data/lib/tdlib/types/chat_report_reason/copyright.rb +0 -5
- data/lib/tdlib/types/chat_report_reason/custom.rb +0 -8
- data/lib/tdlib/types/chat_report_reason/pornography.rb +0 -5
- data/lib/tdlib/types/chat_report_reason/spam.rb +0 -5
- data/lib/tdlib/types/chat_report_reason/unrelated_location.rb +0 -5
- data/lib/tdlib/types/chat_report_reason/violence.rb +0 -5
- data/lib/tdlib/types/chat_type.rb +0 -13
- data/lib/tdlib/types/chat_type/basic_group.rb +0 -8
- data/lib/tdlib/types/chat_type/private.rb +0 -8
- data/lib/tdlib/types/chat_type/secret.rb +0 -10
- data/lib/tdlib/types/chat_type/supergroup.rb +0 -11
- data/lib/tdlib/types/chats.rb +0 -8
- data/lib/tdlib/types/chats_nearby.rb +0 -10
- data/lib/tdlib/types/check_chat_username_result.rb +0 -14
- data/lib/tdlib/types/check_chat_username_result/ok.rb +0 -5
- data/lib/tdlib/types/check_chat_username_result/public_chats_too_much.rb +0 -5
- data/lib/tdlib/types/check_chat_username_result/public_groups_unavailable.rb +0 -5
- data/lib/tdlib/types/check_chat_username_result/username_invalid.rb +0 -5
- data/lib/tdlib/types/check_chat_username_result/username_occupied.rb +0 -5
- data/lib/tdlib/types/connected_website.rb +0 -25
- data/lib/tdlib/types/connected_websites.rb +0 -8
- data/lib/tdlib/types/connection_state.rb +0 -14
- data/lib/tdlib/types/connection_state/connecting.rb +0 -5
- data/lib/tdlib/types/connection_state/connecting_to_proxy.rb +0 -5
- data/lib/tdlib/types/connection_state/ready.rb +0 -5
- data/lib/tdlib/types/connection_state/updating.rb +0 -5
- data/lib/tdlib/types/connection_state/waiting_for_network.rb +0 -6
- data/lib/tdlib/types/contact.rb +0 -16
- data/lib/tdlib/types/count.rb +0 -8
- data/lib/tdlib/types/custom_request_result.rb +0 -8
- data/lib/tdlib/types/database_statistics.rb +0 -8
- data/lib/tdlib/types/date.rb +0 -12
- data/lib/tdlib/types/dated_file.rb +0 -10
- data/lib/tdlib/types/deep_link_info.rb +0 -10
- data/lib/tdlib/types/device_token.rb +0 -22
- data/lib/tdlib/types/device_token/apple_push.rb +0 -10
- data/lib/tdlib/types/device_token/apple_push_vo_ip.rb +0 -12
- data/lib/tdlib/types/device_token/black_berry_push.rb +0 -8
- data/lib/tdlib/types/device_token/firebase_cloud_messaging.rb +0 -10
- data/lib/tdlib/types/device_token/microsoft_push.rb +0 -8
- data/lib/tdlib/types/device_token/microsoft_push_vo_ip.rb +0 -8
- data/lib/tdlib/types/device_token/simple_push.rb +0 -9
- data/lib/tdlib/types/device_token/tizen_push.rb +0 -8
- data/lib/tdlib/types/device_token/ubuntu_push.rb +0 -8
- data/lib/tdlib/types/device_token/web_push.rb +0 -13
- data/lib/tdlib/types/device_token/windows_push.rb +0 -9
- data/lib/tdlib/types/document.rb +0 -17
- data/lib/tdlib/types/draft_message.rb +0 -11
- data/lib/tdlib/types/email_address_authentication_code_info.rb +0 -10
- data/lib/tdlib/types/emojis.rb +0 -8
- data/lib/tdlib/types/encrypted_credentials.rb +0 -12
- data/lib/tdlib/types/encrypted_passport_element.rb +0 -25
- data/lib/tdlib/types/error.rb +0 -12
- data/lib/tdlib/types/file.rb +0 -18
- data/lib/tdlib/types/file_part.rb +0 -8
- data/lib/tdlib/types/file_type.rb +0 -25
- data/lib/tdlib/types/file_type/animation.rb +0 -5
- data/lib/tdlib/types/file_type/audio.rb +0 -5
- data/lib/tdlib/types/file_type/document.rb +0 -5
- data/lib/tdlib/types/file_type/none.rb +0 -5
- data/lib/tdlib/types/file_type/photo.rb +0 -5
- data/lib/tdlib/types/file_type/profile_photo.rb +0 -5
- data/lib/tdlib/types/file_type/secret.rb +0 -5
- data/lib/tdlib/types/file_type/secret_thumbnail.rb +0 -5
- data/lib/tdlib/types/file_type/secure.rb +0 -5
- data/lib/tdlib/types/file_type/sticker.rb +0 -5
- data/lib/tdlib/types/file_type/thumbnail.rb +0 -5
- data/lib/tdlib/types/file_type/unknown.rb +0 -5
- data/lib/tdlib/types/file_type/video.rb +0 -5
- data/lib/tdlib/types/file_type/video_note.rb +0 -5
- data/lib/tdlib/types/file_type/voice_note.rb +0 -5
- data/lib/tdlib/types/file_type/wallpaper.rb +0 -5
- data/lib/tdlib/types/formatted_text.rb +0 -14
- data/lib/tdlib/types/found_messages.rb +0 -10
- data/lib/tdlib/types/game.rb +0 -21
- data/lib/tdlib/types/game_high_score.rb +0 -12
- data/lib/tdlib/types/game_high_scores.rb +0 -8
- data/lib/tdlib/types/hashtags.rb +0 -8
- data/lib/tdlib/types/http_url.rb +0 -8
- data/lib/tdlib/types/identity_document.rb +0 -19
- data/lib/tdlib/types/imported_contacts.rb +0 -12
- data/lib/tdlib/types/inline_keyboard_button.rb +0 -10
- data/lib/tdlib/types/inline_keyboard_button_type.rb +0 -15
- data/lib/tdlib/types/inline_keyboard_button_type/buy.rb +0 -7
- data/lib/tdlib/types/inline_keyboard_button_type/callback.rb +0 -8
- data/lib/tdlib/types/inline_keyboard_button_type/callback_game.rb +0 -7
- data/lib/tdlib/types/inline_keyboard_button_type/login_url.rb +0 -12
- data/lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb +0 -10
- data/lib/tdlib/types/inline_keyboard_button_type/url.rb +0 -8
- data/lib/tdlib/types/inline_query_result.rb +0 -21
- data/lib/tdlib/types/inline_query_result/animation.rb +0 -12
- data/lib/tdlib/types/inline_query_result/article.rb +0 -18
- data/lib/tdlib/types/inline_query_result/audio.rb +0 -10
- data/lib/tdlib/types/inline_query_result/contact.rb +0 -12
- data/lib/tdlib/types/inline_query_result/document.rb +0 -14
- data/lib/tdlib/types/inline_query_result/game.rb +0 -10
- data/lib/tdlib/types/inline_query_result/location.rb +0 -14
- data/lib/tdlib/types/inline_query_result/photo.rb +0 -14
- data/lib/tdlib/types/inline_query_result/sticker.rb +0 -10
- data/lib/tdlib/types/inline_query_result/venue.rb +0 -12
- data/lib/tdlib/types/inline_query_result/video.rb +0 -14
- data/lib/tdlib/types/inline_query_result/voice_note.rb +0 -12
- data/lib/tdlib/types/inline_query_results.rb +0 -19
- data/lib/tdlib/types/input_background.rb +0 -11
- data/lib/tdlib/types/input_background/local.rb +0 -10
- data/lib/tdlib/types/input_background/remote.rb +0 -8
- data/lib/tdlib/types/input_credentials.rb +0 -13
- data/lib/tdlib/types/input_credentials/android_pay.rb +0 -8
- data/lib/tdlib/types/input_credentials/apple_pay.rb +0 -8
- data/lib/tdlib/types/input_credentials/new.rb +0 -10
- data/lib/tdlib/types/input_credentials/saved.rb +0 -9
- data/lib/tdlib/types/input_file.rb +0 -13
- data/lib/tdlib/types/input_file/generated.rb +0 -15
- data/lib/tdlib/types/input_file/id.rb +0 -8
- data/lib/tdlib/types/input_file/local.rb +0 -8
- data/lib/tdlib/types/input_file/remote.rb +0 -12
- data/lib/tdlib/types/input_identity_document.rb +0 -19
- data/lib/tdlib/types/input_inline_query_result.rb +0 -22
- data/lib/tdlib/types/input_inline_query_result/animated_gif.rb +0 -27
- data/lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb +0 -28
- data/lib/tdlib/types/input_inline_query_result/article.rb +0 -29
- data/lib/tdlib/types/input_inline_query_result/audio.rb +0 -23
- data/lib/tdlib/types/input_inline_query_result/contact.rb +0 -23
- data/lib/tdlib/types/input_inline_query_result/document.rb +0 -30
- data/lib/tdlib/types/input_inline_query_result/game.rb +0 -13
- data/lib/tdlib/types/input_inline_query_result/location.rb +0 -28
- data/lib/tdlib/types/input_inline_query_result/photo.rb +0 -27
- data/lib/tdlib/types/input_inline_query_result/sticker.rb +0 -23
- data/lib/tdlib/types/input_inline_query_result/venue.rb +0 -23
- data/lib/tdlib/types/input_inline_query_result/video.rb +0 -32
- data/lib/tdlib/types/input_inline_query_result/voice_note.rb +0 -21
- data/lib/tdlib/types/input_message_content.rb +0 -25
- data/lib/tdlib/types/input_message_content/animation.rb +0 -18
- data/lib/tdlib/types/input_message_content/audio.rb +0 -18
- data/lib/tdlib/types/input_message_content/contact.rb +0 -8
- data/lib/tdlib/types/input_message_content/document.rb +0 -12
- data/lib/tdlib/types/input_message_content/forwarded.rb +0 -20
- data/lib/tdlib/types/input_message_content/game.rb +0 -10
- data/lib/tdlib/types/input_message_content/invoice.rb +0 -28
- data/lib/tdlib/types/input_message_content/location.rb +0 -11
- data/lib/tdlib/types/input_message_content/photo.rb +0 -22
- data/lib/tdlib/types/input_message_content/poll.rb +0 -11
- data/lib/tdlib/types/input_message_content/sticker.rb +0 -14
- data/lib/tdlib/types/input_message_content/text.rb +0 -15
- data/lib/tdlib/types/input_message_content/venue.rb +0 -8
- data/lib/tdlib/types/input_message_content/video.rb +0 -25
- data/lib/tdlib/types/input_message_content/video_note.rb +0 -14
- data/lib/tdlib/types/input_message_content/voice_note.rb +0 -14
- data/lib/tdlib/types/input_passport_element.rb +0 -22
- data/lib/tdlib/types/input_passport_element/address.rb +0 -8
- data/lib/tdlib/types/input_passport_element/bank_statement.rb +0 -8
- data/lib/tdlib/types/input_passport_element/driver_license.rb +0 -8
- data/lib/tdlib/types/input_passport_element/email_address.rb +0 -8
- data/lib/tdlib/types/input_passport_element/identity_card.rb +0 -8
- data/lib/tdlib/types/input_passport_element/internal_passport.rb +0 -8
- data/lib/tdlib/types/input_passport_element/passport.rb +0 -8
- data/lib/tdlib/types/input_passport_element/passport_registration.rb +0 -8
- data/lib/tdlib/types/input_passport_element/personal_details.rb +0 -8
- data/lib/tdlib/types/input_passport_element/phone_number.rb +0 -8
- data/lib/tdlib/types/input_passport_element/rental_agreement.rb +0 -8
- data/lib/tdlib/types/input_passport_element/temporary_registration.rb +0 -8
- data/lib/tdlib/types/input_passport_element/utility_bill.rb +0 -8
- data/lib/tdlib/types/input_passport_element_error.rb +0 -12
- data/lib/tdlib/types/input_passport_element_error_source.rb +0 -18
- data/lib/tdlib/types/input_passport_element_error_source/data_field.rb +0 -11
- data/lib/tdlib/types/input_passport_element_error_source/file.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/files.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/front_side.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/reverse_side.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/selfie.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/translation_file.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/translation_files.rb +0 -9
- data/lib/tdlib/types/input_passport_element_error_source/unspecified.rb +0 -9
- data/lib/tdlib/types/input_personal_document.rb +0 -11
- data/lib/tdlib/types/input_sticker.rb +0 -14
- data/lib/tdlib/types/input_thumbnail.rb +0 -16
- data/lib/tdlib/types/invoice.rb +0 -27
- data/lib/tdlib/types/json_object_member.rb +0 -10
- data/lib/tdlib/types/json_value.rb +0 -15
- data/lib/tdlib/types/json_value/array.rb +0 -8
- data/lib/tdlib/types/json_value/boolean.rb +0 -8
- data/lib/tdlib/types/json_value/null.rb +0 -5
- data/lib/tdlib/types/json_value/number.rb +0 -8
- data/lib/tdlib/types/json_value/object.rb +0 -8
- data/lib/tdlib/types/json_value/string.rb +0 -8
- data/lib/tdlib/types/keyboard_button.rb +0 -10
- data/lib/tdlib/types/keyboard_button_type.rb +0 -12
- data/lib/tdlib/types/keyboard_button_type/request_location.rb +0 -5
- data/lib/tdlib/types/keyboard_button_type/request_phone_number.rb +0 -5
- data/lib/tdlib/types/keyboard_button_type/text.rb +0 -5
- data/lib/tdlib/types/labeled_price_part.rb +0 -10
- data/lib/tdlib/types/language_pack_info.rb +0 -35
- data/lib/tdlib/types/language_pack_string.rb +0 -10
- data/lib/tdlib/types/language_pack_string_value.rb +0 -12
- data/lib/tdlib/types/language_pack_string_value/deleted.rb +0 -5
- data/lib/tdlib/types/language_pack_string_value/ordinary.rb +0 -8
- data/lib/tdlib/types/language_pack_string_value/pluralized.rb +0 -19
- data/lib/tdlib/types/language_pack_strings.rb +0 -8
- data/lib/tdlib/types/local_file.rb +0 -28
- data/lib/tdlib/types/localization_target_info.rb +0 -8
- data/lib/tdlib/types/location.rb +0 -10
- data/lib/tdlib/types/log_stream.rb +0 -12
- data/lib/tdlib/types/log_stream/default.rb +0 -5
- data/lib/tdlib/types/log_stream/empty.rb +0 -5
- data/lib/tdlib/types/log_stream/file.rb +0 -11
- data/lib/tdlib/types/log_tags.rb +0 -8
- data/lib/tdlib/types/log_verbosity_level.rb +0 -8
- data/lib/tdlib/types/login_url_info.rb +0 -11
- data/lib/tdlib/types/login_url_info/open.rb +0 -10
- data/lib/tdlib/types/login_url_info/request_confirmation.rb +0 -15
- data/lib/tdlib/types/mask_point.rb +0 -13
- data/lib/tdlib/types/mask_point/chin.rb +0 -5
- data/lib/tdlib/types/mask_point/eyes.rb +0 -5
- data/lib/tdlib/types/mask_point/forehead.rb +0 -5
- data/lib/tdlib/types/mask_point/mouth.rb +0 -5
- data/lib/tdlib/types/mask_position.rb +0 -17
- data/lib/tdlib/types/message.rb +0 -67
- data/lib/tdlib/types/message_content.rb +0 -49
- data/lib/tdlib/types/message_content/animation.rb +0 -13
- data/lib/tdlib/types/message_content/audio.rb +0 -10
- data/lib/tdlib/types/message_content/basic_group_chat_create.rb +0 -10
- data/lib/tdlib/types/message_content/call.rb +0 -10
- data/lib/tdlib/types/message_content/chat_add_members.rb +0 -8
- data/lib/tdlib/types/message_content/chat_change_photo.rb +0 -8
- data/lib/tdlib/types/message_content/chat_change_title.rb +0 -8
- data/lib/tdlib/types/message_content/chat_delete_member.rb +0 -8
- data/lib/tdlib/types/message_content/chat_delete_photo.rb +0 -5
- data/lib/tdlib/types/message_content/chat_join_by_link.rb +0 -5
- data/lib/tdlib/types/message_content/chat_set_ttl.rb +0 -8
- data/lib/tdlib/types/message_content/chat_upgrade_from.rb +0 -10
- data/lib/tdlib/types/message_content/chat_upgrade_to.rb +0 -8
- data/lib/tdlib/types/message_content/contact.rb +0 -8
- data/lib/tdlib/types/message_content/contact_registered.rb +0 -5
- data/lib/tdlib/types/message_content/custom_service_action.rb +0 -8
- data/lib/tdlib/types/message_content/document.rb +0 -10
- data/lib/tdlib/types/message_content/expired_photo.rb +0 -5
- data/lib/tdlib/types/message_content/expired_video.rb +0 -5
- data/lib/tdlib/types/message_content/game.rb +0 -8
- data/lib/tdlib/types/message_content/game_score.rb +0 -13
- data/lib/tdlib/types/message_content/invoice.rb +0 -26
- data/lib/tdlib/types/message_content/location.rb +0 -14
- data/lib/tdlib/types/message_content/passport_data_received.rb +0 -10
- data/lib/tdlib/types/message_content/passport_data_sent.rb +0 -8
- data/lib/tdlib/types/message_content/payment_successful.rb +0 -13
- data/lib/tdlib/types/message_content/payment_successful_bot.rb +0 -24
- data/lib/tdlib/types/message_content/photo.rb +0 -12
- data/lib/tdlib/types/message_content/pin_message.rb +0 -8
- data/lib/tdlib/types/message_content/poll.rb +0 -8
- data/lib/tdlib/types/message_content/screenshot_taken.rb +0 -5
- data/lib/tdlib/types/message_content/sticker.rb +0 -8
- data/lib/tdlib/types/message_content/supergroup_chat_create.rb +0 -8
- data/lib/tdlib/types/message_content/text.rb +0 -10
- data/lib/tdlib/types/message_content/unsupported.rb +0 -5
- data/lib/tdlib/types/message_content/venue.rb +0 -8
- data/lib/tdlib/types/message_content/video.rb +0 -13
- data/lib/tdlib/types/message_content/video_note.rb +0 -13
- data/lib/tdlib/types/message_content/voice_note.rb +0 -12
- data/lib/tdlib/types/message_content/website_connected.rb +0 -8
- data/lib/tdlib/types/message_forward_info.rb +0 -17
- data/lib/tdlib/types/message_forward_origin.rb +0 -12
- data/lib/tdlib/types/message_forward_origin/channel.rb +0 -12
- data/lib/tdlib/types/message_forward_origin/hidden_user.rb +0 -8
- data/lib/tdlib/types/message_forward_origin/user.rb +0 -8
- data/lib/tdlib/types/message_link_info.rb +0 -14
- data/lib/tdlib/types/message_scheduling_state.rb +0 -11
- data/lib/tdlib/types/message_scheduling_state/send_at_date.rb +0 -9
- data/lib/tdlib/types/message_scheduling_state/send_when_online.rb +0 -6
- data/lib/tdlib/types/message_sending_state.rb +0 -11
- data/lib/tdlib/types/message_sending_state/failed.rb +0 -15
- data/lib/tdlib/types/message_sending_state/pending.rb +0 -5
- data/lib/tdlib/types/messages.rb +0 -10
- data/lib/tdlib/types/minithumbnail.rb +0 -12
- data/lib/tdlib/types/network_statistics.rb +0 -10
- data/lib/tdlib/types/network_statistics_entry.rb +0 -11
- data/lib/tdlib/types/network_statistics_entry/call.rb +0 -15
- data/lib/tdlib/types/network_statistics_entry/file.rb +0 -15
- data/lib/tdlib/types/network_type.rb +0 -14
- data/lib/tdlib/types/network_type/mobile.rb +0 -5
- data/lib/tdlib/types/network_type/mobile_roaming.rb +0 -5
- data/lib/tdlib/types/network_type/none.rb +0 -5
- data/lib/tdlib/types/network_type/other.rb +0 -5
- data/lib/tdlib/types/network_type/wi_fi.rb +0 -5
- data/lib/tdlib/types/notification.rb +0 -14
- data/lib/tdlib/types/notification_group.rb +0 -16
- data/lib/tdlib/types/notification_group_type.rb +0 -13
- data/lib/tdlib/types/notification_group_type/calls.rb +0 -5
- data/lib/tdlib/types/notification_group_type/mentions.rb +0 -6
- data/lib/tdlib/types/notification_group_type/messages.rb +0 -6
- data/lib/tdlib/types/notification_group_type/secret_chat.rb +0 -5
- data/lib/tdlib/types/notification_settings_scope.rb +0 -12
- data/lib/tdlib/types/notification_settings_scope/channel_chats.rb +0 -5
- data/lib/tdlib/types/notification_settings_scope/group_chats.rb +0 -6
- data/lib/tdlib/types/notification_settings_scope/private_chats.rb +0 -6
- data/lib/tdlib/types/notification_type.rb +0 -13
- data/lib/tdlib/types/notification_type/new_call.rb +0 -8
- data/lib/tdlib/types/notification_type/new_message.rb +0 -8
- data/lib/tdlib/types/notification_type/new_push_message.rb +0 -15
- data/lib/tdlib/types/notification_type/new_secret_chat.rb +0 -5
- data/lib/tdlib/types/ok.rb +0 -5
- data/lib/tdlib/types/option_value.rb +0 -13
- data/lib/tdlib/types/option_value/boolean.rb +0 -8
- data/lib/tdlib/types/option_value/empty.rb +0 -5
- data/lib/tdlib/types/option_value/integer.rb +0 -8
- data/lib/tdlib/types/option_value/string.rb +0 -8
- data/lib/tdlib/types/order_info.rb +0 -14
- data/lib/tdlib/types/page_block.rb +0 -38
- data/lib/tdlib/types/page_block/anchor.rb +0 -8
- data/lib/tdlib/types/page_block/animation.rb +0 -12
- data/lib/tdlib/types/page_block/audio.rb +0 -10
- data/lib/tdlib/types/page_block/author_date.rb +0 -10
- data/lib/tdlib/types/page_block/block_quote.rb +0 -10
- data/lib/tdlib/types/page_block/chat_link.rb +0 -12
- data/lib/tdlib/types/page_block/collage.rb +0 -10
- data/lib/tdlib/types/page_block/cover.rb +0 -8
- data/lib/tdlib/types/page_block/details.rb +0 -12
- data/lib/tdlib/types/page_block/divider.rb +0 -5
- data/lib/tdlib/types/page_block/embedded.rb +0 -22
- data/lib/tdlib/types/page_block/embedded_post.rb +0 -18
- data/lib/tdlib/types/page_block/footer.rb +0 -8
- data/lib/tdlib/types/page_block/header.rb +0 -8
- data/lib/tdlib/types/page_block/kicker.rb +0 -8
- data/lib/tdlib/types/page_block/list.rb +0 -8
- data/lib/tdlib/types/page_block/map.rb +0 -16
- data/lib/tdlib/types/page_block/paragraph.rb +0 -8
- data/lib/tdlib/types/page_block/photo.rb +0 -12
- data/lib/tdlib/types/page_block/preformatted.rb +0 -10
- data/lib/tdlib/types/page_block/pull_quote.rb +0 -10
- data/lib/tdlib/types/page_block/related_articles.rb +0 -10
- data/lib/tdlib/types/page_block/slideshow.rb +0 -10
- data/lib/tdlib/types/page_block/subheader.rb +0 -8
- data/lib/tdlib/types/page_block/subtitle.rb +0 -8
- data/lib/tdlib/types/page_block/table.rb +0 -14
- data/lib/tdlib/types/page_block/title.rb +0 -8
- data/lib/tdlib/types/page_block/video.rb +0 -14
- data/lib/tdlib/types/page_block/voice_note.rb +0 -10
- data/lib/tdlib/types/page_block_caption.rb +0 -10
- data/lib/tdlib/types/page_block_horizontal_alignment.rb +0 -12
- data/lib/tdlib/types/page_block_horizontal_alignment/center.rb +0 -5
- data/lib/tdlib/types/page_block_horizontal_alignment/left.rb +0 -5
- data/lib/tdlib/types/page_block_horizontal_alignment/right.rb +0 -5
- data/lib/tdlib/types/page_block_list_item.rb +0 -10
- data/lib/tdlib/types/page_block_related_article.rb +0 -18
- data/lib/tdlib/types/page_block_table_cell.rb +0 -19
- data/lib/tdlib/types/page_block_vertical_alignment.rb +0 -12
- data/lib/tdlib/types/page_block_vertical_alignment/bottom.rb +0 -5
- data/lib/tdlib/types/page_block_vertical_alignment/middle.rb +0 -5
- data/lib/tdlib/types/page_block_vertical_alignment/top.rb +0 -5
- data/lib/tdlib/types/passport_authorization_form.rb +0 -13
- data/lib/tdlib/types/passport_element.rb +0 -22
- data/lib/tdlib/types/passport_element/address.rb +0 -8
- data/lib/tdlib/types/passport_element/bank_statement.rb +0 -8
- data/lib/tdlib/types/passport_element/driver_license.rb +0 -8
- data/lib/tdlib/types/passport_element/email_address.rb +0 -8
- data/lib/tdlib/types/passport_element/identity_card.rb +0 -8
- data/lib/tdlib/types/passport_element/internal_passport.rb +0 -8
- data/lib/tdlib/types/passport_element/passport.rb +0 -8
- data/lib/tdlib/types/passport_element/passport_registration.rb +0 -8
- data/lib/tdlib/types/passport_element/personal_details.rb +0 -8
- data/lib/tdlib/types/passport_element/phone_number.rb +0 -8
- data/lib/tdlib/types/passport_element/rental_agreement.rb +0 -8
- data/lib/tdlib/types/passport_element/temporary_registration.rb +0 -8
- data/lib/tdlib/types/passport_element/utility_bill.rb +0 -8
- data/lib/tdlib/types/passport_element_error.rb +0 -12
- data/lib/tdlib/types/passport_element_error_source.rb +0 -18
- data/lib/tdlib/types/passport_element_error_source/data_field.rb +0 -9
- data/lib/tdlib/types/passport_element_error_source/file.rb +0 -9
- data/lib/tdlib/types/passport_element_error_source/files.rb +0 -6
- data/lib/tdlib/types/passport_element_error_source/front_side.rb +0 -6
- data/lib/tdlib/types/passport_element_error_source/reverse_side.rb +0 -6
- data/lib/tdlib/types/passport_element_error_source/selfie.rb +0 -6
- data/lib/tdlib/types/passport_element_error_source/translation_file.rb +0 -9
- data/lib/tdlib/types/passport_element_error_source/translation_files.rb +0 -6
- data/lib/tdlib/types/passport_element_error_source/unspecified.rb +0 -6
- data/lib/tdlib/types/passport_element_type.rb +0 -22
- data/lib/tdlib/types/passport_element_type/address.rb +0 -5
- data/lib/tdlib/types/passport_element_type/bank_statement.rb +0 -5
- data/lib/tdlib/types/passport_element_type/driver_license.rb +0 -5
- data/lib/tdlib/types/passport_element_type/email_address.rb +0 -5
- data/lib/tdlib/types/passport_element_type/identity_card.rb +0 -5
- data/lib/tdlib/types/passport_element_type/internal_passport.rb +0 -5
- data/lib/tdlib/types/passport_element_type/passport.rb +0 -5
- data/lib/tdlib/types/passport_element_type/passport_registration.rb +0 -5
- data/lib/tdlib/types/passport_element_type/personal_details.rb +0 -5
- data/lib/tdlib/types/passport_element_type/phone_number.rb +0 -5
- data/lib/tdlib/types/passport_element_type/rental_agreement.rb +0 -5
- data/lib/tdlib/types/passport_element_type/temporary_registration.rb +0 -5
- data/lib/tdlib/types/passport_element_type/utility_bill.rb +0 -5
- data/lib/tdlib/types/passport_elements.rb +0 -8
- data/lib/tdlib/types/passport_elements_with_errors.rb +0 -10
- data/lib/tdlib/types/passport_required_element.rb +0 -9
- data/lib/tdlib/types/passport_suitable_element.rb +0 -15
- data/lib/tdlib/types/password_state.rb +0 -17
- data/lib/tdlib/types/payment_form.rb +0 -23
- data/lib/tdlib/types/payment_receipt.rb +0 -18
- data/lib/tdlib/types/payment_result.rb +0 -11
- data/lib/tdlib/types/payments_provider_stripe.rb +0 -14
- data/lib/tdlib/types/personal_details.rb +0 -26
- data/lib/tdlib/types/personal_document.rb +0 -11
- data/lib/tdlib/types/phone_number_authentication_settings.rb +0 -16
- data/lib/tdlib/types/photo.rb +0 -12
- data/lib/tdlib/types/photo_size.rb +0 -14
- data/lib/tdlib/types/poll.rb +0 -16
- data/lib/tdlib/types/poll_option.rb +0 -16
- data/lib/tdlib/types/profile_photo.rb +0 -15
- data/lib/tdlib/types/proxies.rb +0 -8
- data/lib/tdlib/types/proxy.rb +0 -18
- data/lib/tdlib/types/proxy_type.rb +0 -12
- data/lib/tdlib/types/proxy_type/http.rb +0 -13
- data/lib/tdlib/types/proxy_type/mtproto.rb +0 -8
- data/lib/tdlib/types/proxy_type/socks5.rb +0 -10
- data/lib/tdlib/types/public_chat_type.rb +0 -11
- data/lib/tdlib/types/public_chat_type/has_username.rb +0 -5
- data/lib/tdlib/types/public_chat_type/is_location_based.rb +0 -5
- data/lib/tdlib/types/public_message_link.rb +0 -10
- data/lib/tdlib/types/push_message_content.rb +0 -35
- data/lib/tdlib/types/push_message_content/animation.rb +0 -12
- data/lib/tdlib/types/push_message_content/audio.rb +0 -10
- data/lib/tdlib/types/push_message_content/basic_group_chat_create.rb +0 -5
- data/lib/tdlib/types/push_message_content/chat_add_members.rb +0 -12
- data/lib/tdlib/types/push_message_content/chat_change_photo.rb +0 -5
- data/lib/tdlib/types/push_message_content/chat_change_title.rb +0 -8
- data/lib/tdlib/types/push_message_content/chat_delete_member.rb +0 -12
- data/lib/tdlib/types/push_message_content/chat_join_by_link.rb +0 -5
- data/lib/tdlib/types/push_message_content/contact.rb +0 -10
- data/lib/tdlib/types/push_message_content/contact_registered.rb +0 -5
- data/lib/tdlib/types/push_message_content/document.rb +0 -10
- data/lib/tdlib/types/push_message_content/game.rb +0 -10
- data/lib/tdlib/types/push_message_content/game_score.rb +0 -12
- data/lib/tdlib/types/push_message_content/hidden.rb +0 -8
- data/lib/tdlib/types/push_message_content/invoice.rb +0 -10
- data/lib/tdlib/types/push_message_content/location.rb +0 -10
- data/lib/tdlib/types/push_message_content/media_album.rb +0 -12
- data/lib/tdlib/types/push_message_content/message_forwards.rb +0 -8
- data/lib/tdlib/types/push_message_content/photo.rb +0 -14
- data/lib/tdlib/types/push_message_content/poll.rb +0 -10
- data/lib/tdlib/types/push_message_content/screenshot_taken.rb +0 -5
- data/lib/tdlib/types/push_message_content/sticker.rb +0 -12
- data/lib/tdlib/types/push_message_content/text.rb +0 -10
- data/lib/tdlib/types/push_message_content/video.rb +0 -14
- data/lib/tdlib/types/push_message_content/video_note.rb +0 -10
- data/lib/tdlib/types/push_message_content/voice_note.rb +0 -10
- data/lib/tdlib/types/push_receiver_id.rb +0 -9
- data/lib/tdlib/types/recovery_email_address.rb +0 -8
- data/lib/tdlib/types/remote_file.rb +0 -27
- data/lib/tdlib/types/reply_markup.rb +0 -13
- data/lib/tdlib/types/reply_markup/force_reply.rb +0 -10
- data/lib/tdlib/types/reply_markup/inline_keyboard.rb +0 -8
- data/lib/tdlib/types/reply_markup/remove_keyboard.rb +0 -11
- data/lib/tdlib/types/reply_markup/show_keyboard.rb +0 -16
- data/lib/tdlib/types/rich_text.rb +0 -24
- data/lib/tdlib/types/rich_text/anchor.rb +0 -10
- data/lib/tdlib/types/rich_text/bold.rb +0 -8
- data/lib/tdlib/types/rich_text/email_address.rb +0 -10
- data/lib/tdlib/types/rich_text/fixed.rb +0 -8
- data/lib/tdlib/types/rich_text/icon.rb +0 -13
- data/lib/tdlib/types/rich_text/italic.rb +0 -8
- data/lib/tdlib/types/rich_text/marked.rb +0 -8
- data/lib/tdlib/types/rich_text/phone_number.rb +0 -10
- data/lib/tdlib/types/rich_text/plain.rb +0 -8
- data/lib/tdlib/types/rich_text/s.rb +0 -8
- data/lib/tdlib/types/rich_text/strikethrough.rb +0 -8
- data/lib/tdlib/types/rich_text/subscript.rb +0 -8
- data/lib/tdlib/types/rich_text/superscript.rb +0 -8
- data/lib/tdlib/types/rich_text/underline.rb +0 -8
- data/lib/tdlib/types/rich_text/url.rb +0 -12
- data/lib/tdlib/types/saved_credentials.rb +0 -10
- data/lib/tdlib/types/scope_notification_settings.rb +0 -19
- data/lib/tdlib/types/search_messages_filter.rb +0 -25
- data/lib/tdlib/types/search_messages_filter/animation.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/audio.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/call.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/chat_photo.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/document.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/empty.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/mention.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/missed_call.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/photo.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/photo_and_video.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/unread_mention.rb +0 -6
- data/lib/tdlib/types/search_messages_filter/url.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/video.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/video_note.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/voice_and_video_note.rb +0 -5
- data/lib/tdlib/types/search_messages_filter/voice_note.rb +0 -5
- data/lib/tdlib/types/seconds.rb +0 -8
- data/lib/tdlib/types/secret_chat.rb +0 -27
- data/lib/tdlib/types/secret_chat_state.rb +0 -12
- data/lib/tdlib/types/secret_chat_state/closed.rb +0 -5
- data/lib/tdlib/types/secret_chat_state/pending.rb +0 -5
- data/lib/tdlib/types/secret_chat_state/ready.rb +0 -5
- data/lib/tdlib/types/send_message_options.rb +0 -14
- data/lib/tdlib/types/session.rb +0 -42
- data/lib/tdlib/types/sessions.rb +0 -8
- data/lib/tdlib/types/shipping_option.rb +0 -13
- data/lib/tdlib/types/sticker.rb +0 -24
- data/lib/tdlib/types/sticker_set.rb +0 -35
- data/lib/tdlib/types/sticker_set_info.rb +0 -34
- data/lib/tdlib/types/sticker_sets.rb +0 -10
- data/lib/tdlib/types/stickers.rb +0 -8
- data/lib/tdlib/types/storage_statistics.rb +0 -12
- data/lib/tdlib/types/storage_statistics_by_chat.rb +0 -14
- data/lib/tdlib/types/storage_statistics_by_file_type.rb +0 -12
- data/lib/tdlib/types/storage_statistics_fast.rb +0 -16
- data/lib/tdlib/types/supergroup.rb +0 -43
- data/lib/tdlib/types/supergroup_full_info.rb +0 -53
- data/lib/tdlib/types/supergroup_members_filter.rb +0 -16
- data/lib/tdlib/types/supergroup_members_filter/administrators.rb +0 -5
- data/lib/tdlib/types/supergroup_members_filter/banned.rb +0 -8
- data/lib/tdlib/types/supergroup_members_filter/bots.rb +0 -5
- data/lib/tdlib/types/supergroup_members_filter/contacts.rb +0 -8
- data/lib/tdlib/types/supergroup_members_filter/recent.rb +0 -5
- data/lib/tdlib/types/supergroup_members_filter/restricted.rb +0 -8
- data/lib/tdlib/types/supergroup_members_filter/search.rb +0 -8
- data/lib/tdlib/types/t_me_url.rb +0 -10
- data/lib/tdlib/types/t_me_url_type.rb +0 -13
- data/lib/tdlib/types/t_me_url_type/chat_invite.rb +0 -8
- data/lib/tdlib/types/t_me_url_type/sticker_set.rb +0 -8
- data/lib/tdlib/types/t_me_url_type/supergroup.rb +0 -8
- data/lib/tdlib/types/t_me_url_type/user.rb +0 -8
- data/lib/tdlib/types/t_me_urls.rb +0 -8
- data/lib/tdlib/types/tdlib_parameters.rb +0 -46
- data/lib/tdlib/types/temporary_password_state.rb +0 -10
- data/lib/tdlib/types/terms_of_service.rb +0 -12
- data/lib/tdlib/types/text.rb +0 -8
- data/lib/tdlib/types/text_entities.rb +0 -8
- data/lib/tdlib/types/text_entity.rb +0 -12
- data/lib/tdlib/types/text_entity_type.rb +0 -25
- data/lib/tdlib/types/text_entity_type/bold.rb +0 -5
- data/lib/tdlib/types/text_entity_type/bot_command.rb +0 -6
- data/lib/tdlib/types/text_entity_type/cashtag.rb +0 -6
- data/lib/tdlib/types/text_entity_type/code.rb +0 -5
- data/lib/tdlib/types/text_entity_type/email_address.rb +0 -5
- data/lib/tdlib/types/text_entity_type/hashtag.rb +0 -5
- data/lib/tdlib/types/text_entity_type/italic.rb +0 -5
- data/lib/tdlib/types/text_entity_type/mention.rb +0 -5
- data/lib/tdlib/types/text_entity_type/mention_name.rb +0 -8
- data/lib/tdlib/types/text_entity_type/phone_number.rb +0 -5
- data/lib/tdlib/types/text_entity_type/pre.rb +0 -5
- data/lib/tdlib/types/text_entity_type/pre_code.rb +0 -8
- data/lib/tdlib/types/text_entity_type/strikethrough.rb +0 -5
- data/lib/tdlib/types/text_entity_type/text_url.rb +0 -8
- data/lib/tdlib/types/text_entity_type/underline.rb +0 -5
- data/lib/tdlib/types/text_entity_type/url.rb +0 -5
- data/lib/tdlib/types/text_parse_mode.rb +0 -11
- data/lib/tdlib/types/text_parse_mode/html.rb +0 -5
- data/lib/tdlib/types/text_parse_mode/markdown.rb +0 -9
- data/lib/tdlib/types/ton_lite_server_response.rb +0 -8
- data/lib/tdlib/types/ton_wallet_password_salt.rb +0 -8
- data/lib/tdlib/types/top_chat_category.rb +0 -16
- data/lib/tdlib/types/top_chat_category/bots.rb +0 -5
- data/lib/tdlib/types/top_chat_category/calls.rb +0 -5
- data/lib/tdlib/types/top_chat_category/channels.rb +0 -5
- data/lib/tdlib/types/top_chat_category/forward_chats.rb +0 -5
- data/lib/tdlib/types/top_chat_category/groups.rb +0 -5
- data/lib/tdlib/types/top_chat_category/inline_bots.rb +0 -5
- data/lib/tdlib/types/top_chat_category/users.rb +0 -5
- data/lib/tdlib/types/update.rb +0 -84
- data/lib/tdlib/types/update/active_notifications.rb +0 -10
- data/lib/tdlib/types/update/authorization_state.rb +0 -8
- data/lib/tdlib/types/update/basic_group.rb +0 -9
- data/lib/tdlib/types/update/basic_group_full_info.rb +0 -10
- data/lib/tdlib/types/update/call.rb +0 -8
- data/lib/tdlib/types/update/chat_action_bar.rb +0 -10
- data/lib/tdlib/types/update/chat_chat_list.rb +0 -11
- data/lib/tdlib/types/update/chat_default_disable_notification.rb +0 -10
- data/lib/tdlib/types/update/chat_draft_message.rb +0 -14
- data/lib/tdlib/types/update/chat_has_scheduled_messages.rb +0 -10
- data/lib/tdlib/types/update/chat_is_marked_as_unread.rb +0 -10
- data/lib/tdlib/types/update/chat_is_pinned.rb +0 -12
- data/lib/tdlib/types/update/chat_is_sponsored.rb +0 -12
- data/lib/tdlib/types/update/chat_last_message.rb +0 -14
- data/lib/tdlib/types/update/chat_notification_settings.rb +0 -10
- data/lib/tdlib/types/update/chat_online_member_count.rb +0 -12
- data/lib/tdlib/types/update/chat_order.rb +0 -12
- data/lib/tdlib/types/update/chat_permissions.rb +0 -10
- data/lib/tdlib/types/update/chat_photo.rb +0 -10
- data/lib/tdlib/types/update/chat_pinned_message.rb +0 -11
- data/lib/tdlib/types/update/chat_read_inbox.rb +0 -12
- data/lib/tdlib/types/update/chat_read_outbox.rb +0 -10
- data/lib/tdlib/types/update/chat_reply_markup.rb +0 -13
- data/lib/tdlib/types/update/chat_title.rb +0 -10
- data/lib/tdlib/types/update/chat_unread_mention_count.rb +0 -10
- data/lib/tdlib/types/update/connection_state.rb +0 -8
- data/lib/tdlib/types/update/delete_messages.rb +0 -16
- data/lib/tdlib/types/update/favorite_stickers.rb +0 -8
- data/lib/tdlib/types/update/file.rb +0 -8
- data/lib/tdlib/types/update/file_generation_start.rb +0 -17
- data/lib/tdlib/types/update/file_generation_stop.rb +0 -8
- data/lib/tdlib/types/update/have_pending_notifications.rb +0 -13
- data/lib/tdlib/types/update/installed_sticker_sets.rb +0 -10
- data/lib/tdlib/types/update/language_pack_strings.rb +0 -12
- data/lib/tdlib/types/update/message_content.rb +0 -12
- data/lib/tdlib/types/update/message_content_opened.rb +0 -12
- data/lib/tdlib/types/update/message_edited.rb +0 -15
- data/lib/tdlib/types/update/message_live_location_viewed.rb +0 -11
- data/lib/tdlib/types/update/message_mention_read.rb +0 -12
- data/lib/tdlib/types/update/message_send_acknowledged.rb +0 -14
- data/lib/tdlib/types/update/message_send_failed.rb +0 -16
- data/lib/tdlib/types/update/message_send_succeeded.rb +0 -11
- data/lib/tdlib/types/update/message_views.rb +0 -12
- data/lib/tdlib/types/update/new_callback_query.rb +0 -18
- data/lib/tdlib/types/update/new_chat.rb +0 -10
- data/lib/tdlib/types/update/new_chosen_inline_result.rb +0 -16
- data/lib/tdlib/types/update/new_custom_event.rb +0 -8
- data/lib/tdlib/types/update/new_custom_query.rb +0 -12
- data/lib/tdlib/types/update/new_inline_callback_query.rb +0 -16
- data/lib/tdlib/types/update/new_inline_query.rb +0 -16
- data/lib/tdlib/types/update/new_message.rb +0 -8
- data/lib/tdlib/types/update/new_pre_checkout_query.rb +0 -22
- data/lib/tdlib/types/update/new_shipping_query.rb +0 -15
- data/lib/tdlib/types/update/notification.rb +0 -10
- data/lib/tdlib/types/update/notification_group.rb +0 -26
- data/lib/tdlib/types/update/option.rb +0 -10
- data/lib/tdlib/types/update/poll.rb +0 -8
- data/lib/tdlib/types/update/recent_stickers.rb +0 -11
- data/lib/tdlib/types/update/saved_animations.rb +0 -8
- data/lib/tdlib/types/update/scope_notification_settings.rb +0 -10
- data/lib/tdlib/types/update/secret_chat.rb +0 -9
- data/lib/tdlib/types/update/selected_background.rb +0 -10
- data/lib/tdlib/types/update/service_notification.rb +0 -13
- data/lib/tdlib/types/update/supergroup.rb +0 -9
- data/lib/tdlib/types/update/supergroup_full_info.rb +0 -10
- data/lib/tdlib/types/update/terms_of_service.rb +0 -12
- data/lib/tdlib/types/update/trending_sticker_sets.rb +0 -8
- data/lib/tdlib/types/update/unread_chat_count.rb +0 -20
- data/lib/tdlib/types/update/unread_message_count.rb +0 -13
- data/lib/tdlib/types/update/user.rb +0 -9
- data/lib/tdlib/types/update/user_chat_action.rb +0 -12
- data/lib/tdlib/types/update/user_full_info.rb +0 -10
- data/lib/tdlib/types/update/user_privacy_setting_rules.rb +0 -10
- data/lib/tdlib/types/update/user_status.rb +0 -10
- data/lib/tdlib/types/update/users_nearby.rb +0 -9
- data/lib/tdlib/types/updates.rb +0 -8
- data/lib/tdlib/types/user.rb +0 -42
- data/lib/tdlib/types/user_full_info.rb +0 -24
- data/lib/tdlib/types/user_privacy_setting.rb +0 -17
- data/lib/tdlib/types/user_privacy_setting/allow_calls.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting/allow_chat_invites.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting/allow_finding_by_phone_number.rb +0 -7
- data/lib/tdlib/types/user_privacy_setting/allow_peer_to_peer_calls.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting/show_link_in_forwarded_messages.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting/show_phone_number.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting/show_profile_photo.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting/show_status.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting_rule.rb +0 -17
- data/lib/tdlib/types/user_privacy_setting_rule/allow_all.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting_rule/allow_chat_members.rb +0 -8
- data/lib/tdlib/types/user_privacy_setting_rule/allow_contacts.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting_rule/allow_users.rb +0 -8
- data/lib/tdlib/types/user_privacy_setting_rule/restrict_all.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting_rule/restrict_chat_members.rb +0 -8
- data/lib/tdlib/types/user_privacy_setting_rule/restrict_contacts.rb +0 -5
- data/lib/tdlib/types/user_privacy_setting_rule/restrict_users.rb +0 -8
- data/lib/tdlib/types/user_privacy_setting_rules.rb +0 -11
- data/lib/tdlib/types/user_profile_photo.rb +0 -12
- data/lib/tdlib/types/user_profile_photos.rb +0 -10
- data/lib/tdlib/types/user_status.rb +0 -15
- data/lib/tdlib/types/user_status/empty.rb +0 -5
- data/lib/tdlib/types/user_status/last_month.rb +0 -5
- data/lib/tdlib/types/user_status/last_week.rb +0 -5
- data/lib/tdlib/types/user_status/offline.rb +0 -8
- data/lib/tdlib/types/user_status/online.rb +0 -8
- data/lib/tdlib/types/user_status/recently.rb +0 -5
- data/lib/tdlib/types/user_type.rb +0 -14
- data/lib/tdlib/types/user_type/bot.rb +0 -18
- data/lib/tdlib/types/user_type/deleted.rb +0 -7
- data/lib/tdlib/types/user_type/regular.rb +0 -5
- data/lib/tdlib/types/user_type/unknown.rb +0 -7
- data/lib/tdlib/types/users.rb +0 -10
- data/lib/tdlib/types/validated_order_info.rb +0 -11
- data/lib/tdlib/types/venue.rb +0 -19
- data/lib/tdlib/types/video.rb +0 -26
- data/lib/tdlib/types/video_note.rb +0 -17
- data/lib/tdlib/types/voice_note.rb +0 -16
- data/lib/tdlib/types/web_page.rb +0 -52
- data/lib/tdlib/types/web_page_instant_view.rb +0 -18
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's bank statement.
|
3
|
-
#
|
4
|
-
# @attr bank_statement [TD::Types::InputPersonalDocument] The bank statement to be saved.
|
5
|
-
class InputPassportElement::BankStatement < InputPassportElement
|
6
|
-
attribute :bank_statement, TD::Types::InputPersonalDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's driver license.
|
3
|
-
#
|
4
|
-
# @attr driver_license [TD::Types::InputIdentityDocument] The driver license to be saved.
|
5
|
-
class InputPassportElement::DriverLicense < InputPassportElement
|
6
|
-
attribute :driver_license, TD::Types::InputIdentityDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's email address.
|
3
|
-
#
|
4
|
-
# @attr email_address [String] The email address to be saved.
|
5
|
-
class InputPassportElement::EmailAddress < InputPassportElement
|
6
|
-
attribute :email_address, TD::Types::String
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's identity card.
|
3
|
-
#
|
4
|
-
# @attr identity_card [TD::Types::InputIdentityDocument] The identity card to be saved.
|
5
|
-
class InputPassportElement::IdentityCard < InputPassportElement
|
6
|
-
attribute :identity_card, TD::Types::InputIdentityDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's internal passport.
|
3
|
-
#
|
4
|
-
# @attr internal_passport [TD::Types::InputIdentityDocument] The internal passport to be saved.
|
5
|
-
class InputPassportElement::InternalPassport < InputPassportElement
|
6
|
-
attribute :internal_passport, TD::Types::InputIdentityDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's passport.
|
3
|
-
#
|
4
|
-
# @attr passport [TD::Types::InputIdentityDocument] The passport to be saved.
|
5
|
-
class InputPassportElement::Passport < InputPassportElement
|
6
|
-
attribute :passport, TD::Types::InputIdentityDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's passport registration.
|
3
|
-
#
|
4
|
-
# @attr passport_registration [TD::Types::InputPersonalDocument] The passport registration page to be saved.
|
5
|
-
class InputPassportElement::PassportRegistration < InputPassportElement
|
6
|
-
attribute :passport_registration, TD::Types::InputPersonalDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's personal details.
|
3
|
-
#
|
4
|
-
# @attr personal_details [TD::Types::PersonalDetails] Personal details of the user.
|
5
|
-
class InputPassportElement::PersonalDetails < InputPassportElement
|
6
|
-
attribute :personal_details, TD::Types::PersonalDetails
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's phone number.
|
3
|
-
#
|
4
|
-
# @attr phone_number [String] The phone number to be saved.
|
5
|
-
class InputPassportElement::PhoneNumber < InputPassportElement
|
6
|
-
attribute :phone_number, TD::Types::String
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's rental agreement.
|
3
|
-
#
|
4
|
-
# @attr rental_agreement [TD::Types::InputPersonalDocument] The rental agreement to be saved.
|
5
|
-
class InputPassportElement::RentalAgreement < InputPassportElement
|
6
|
-
attribute :rental_agreement, TD::Types::InputPersonalDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's temporary registration.
|
3
|
-
#
|
4
|
-
# @attr temporary_registration [TD::Types::InputPersonalDocument] The temporary registration document to be saved.
|
5
|
-
class InputPassportElement::TemporaryRegistration < InputPassportElement
|
6
|
-
attribute :temporary_registration, TD::Types::InputPersonalDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A Telegram Passport element to be saved containing the user's utility bill.
|
3
|
-
#
|
4
|
-
# @attr utility_bill [TD::Types::InputPersonalDocument] The utility bill to be saved.
|
5
|
-
class InputPassportElement::UtilityBill < InputPassportElement
|
6
|
-
attribute :utility_bill, TD::Types::InputPersonalDocument
|
7
|
-
end
|
8
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Contains the description of an error in a Telegram Passport element; for bots only.
|
3
|
-
#
|
4
|
-
# @attr type [TD::Types::PassportElementType] Type of Telegram Passport element that has the error.
|
5
|
-
# @attr message [String] Error message.
|
6
|
-
# @attr source [TD::Types::InputPassportElementErrorSource] Error source.
|
7
|
-
class InputPassportElementError < Base
|
8
|
-
attribute :type, TD::Types::PassportElementType
|
9
|
-
attribute :message, TD::Types::String
|
10
|
-
attribute :source, TD::Types::InputPassportElementErrorSource
|
11
|
-
end
|
12
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Contains the description of an error in a Telegram Passport element; for bots only.
|
3
|
-
class InputPassportElementErrorSource < Base
|
4
|
-
%w[
|
5
|
-
unspecified
|
6
|
-
data_field
|
7
|
-
front_side
|
8
|
-
reverse_side
|
9
|
-
selfie
|
10
|
-
translation_file
|
11
|
-
translation_files
|
12
|
-
file
|
13
|
-
files
|
14
|
-
].each do |type|
|
15
|
-
autoload TD::Types.camelize(type), "tdlib/types/input_passport_element_error_source/#{type}"
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A data field contains an error.
|
3
|
-
# The error is considered resolved when the field's value changes.
|
4
|
-
#
|
5
|
-
# @attr field_name [String] Field name.
|
6
|
-
# @attr data_hash [String] Current data hash.
|
7
|
-
class InputPassportElementErrorSource::DataField < InputPassportElementErrorSource
|
8
|
-
attribute :field_name, TD::Types::String
|
9
|
-
attribute :data_hash, TD::Types::String
|
10
|
-
end
|
11
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The file contains an error.
|
3
|
-
# The error is considered resolved when the file changes.
|
4
|
-
#
|
5
|
-
# @attr file_hash [String] Current hash of the file which has the error.
|
6
|
-
class InputPassportElementErrorSource::File < InputPassportElementErrorSource
|
7
|
-
attribute :file_hash, TD::Types::String
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The list of attached files contains an error.
|
3
|
-
# The error is considered resolved when the file list changes.
|
4
|
-
#
|
5
|
-
# @attr file_hashes [Array<String>] Current hashes of all attached files.
|
6
|
-
class InputPassportElementErrorSource::Files < InputPassportElementErrorSource
|
7
|
-
attribute :file_hashes, TD::Types::Array.of(TD::Types::String)
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The front side of the document contains an error.
|
3
|
-
# The error is considered resolved when the file with the front side of the document changes.
|
4
|
-
#
|
5
|
-
# @attr file_hash [String] Current hash of the file containing the front side.
|
6
|
-
class InputPassportElementErrorSource::FrontSide < InputPassportElementErrorSource
|
7
|
-
attribute :file_hash, TD::Types::String
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The reverse side of the document contains an error.
|
3
|
-
# The error is considered resolved when the file with the reverse side of the document changes.
|
4
|
-
#
|
5
|
-
# @attr file_hash [String] Current hash of the file containing the reverse side.
|
6
|
-
class InputPassportElementErrorSource::ReverseSide < InputPassportElementErrorSource
|
7
|
-
attribute :file_hash, TD::Types::String
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The selfie contains an error.
|
3
|
-
# The error is considered resolved when the file with the selfie changes.
|
4
|
-
#
|
5
|
-
# @attr file_hash [String] Current hash of the file containing the selfie.
|
6
|
-
class InputPassportElementErrorSource::Selfie < InputPassportElementErrorSource
|
7
|
-
attribute :file_hash, TD::Types::String
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# One of the files containing the translation of the document contains an error.
|
3
|
-
# The error is considered resolved when the file with the translation changes.
|
4
|
-
#
|
5
|
-
# @attr file_hash [String] Current hash of the file containing the translation.
|
6
|
-
class InputPassportElementErrorSource::TranslationFile < InputPassportElementErrorSource
|
7
|
-
attribute :file_hash, TD::Types::String
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The translation of the document contains an error.
|
3
|
-
# The error is considered resolved when the list of files changes.
|
4
|
-
#
|
5
|
-
# @attr file_hashes [Array<String>] Current hashes of all files with the translation.
|
6
|
-
class InputPassportElementErrorSource::TranslationFiles < InputPassportElementErrorSource
|
7
|
-
attribute :file_hashes, TD::Types::Array.of(TD::Types::String)
|
8
|
-
end
|
9
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# The element contains an error in an unspecified place.
|
3
|
-
# The error will be considered resolved when new data is added.
|
4
|
-
#
|
5
|
-
# @attr element_hash [String] Current hash of the entire element.
|
6
|
-
class InputPassportElementErrorSource::Unspecified < InputPassportElementErrorSource
|
7
|
-
attribute :element_hash, TD::Types::String
|
8
|
-
end
|
9
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A personal document to be saved to Telegram Passport.
|
3
|
-
#
|
4
|
-
# @attr files [Array<TD::Types::InputFile>] List of files containing the pages of the document.
|
5
|
-
# @attr translation [Array<TD::Types::InputFile>] List of files containing a certified English translation of the
|
6
|
-
# document.
|
7
|
-
class InputPersonalDocument < Base
|
8
|
-
attribute :files, TD::Types::Array.of(TD::Types::InputFile)
|
9
|
-
attribute :translation, TD::Types::Array.of(TD::Types::InputFile)
|
10
|
-
end
|
11
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Describes a sticker that should be added to a sticker set.
|
3
|
-
#
|
4
|
-
# @attr png_sticker [TD::Types::InputFile] PNG image with the sticker; must be up to 512 kB in size and fit in a
|
5
|
-
# 512x512 square.
|
6
|
-
# @attr emojis [String] Emoji corresponding to the sticker.
|
7
|
-
# @attr mask_position [TD::Types::MaskPosition, nil] For masks, position where the mask should be placed; may be
|
8
|
-
# null.
|
9
|
-
class InputSticker < Base
|
10
|
-
attribute :png_sticker, TD::Types::InputFile
|
11
|
-
attribute :emojis, TD::Types::String
|
12
|
-
attribute :mask_position, TD::Types::MaskPosition.optional.default(nil)
|
13
|
-
end
|
14
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# A thumbnail to be sent along with a file; should be in JPEG or WEBP format for stickers, and less than 200 kB in
|
3
|
-
# size.
|
4
|
-
#
|
5
|
-
# @attr thumbnail [TD::Types::InputFile] Thumbnail file to send.
|
6
|
-
# Sending thumbnails by file_id is currently not supported.
|
7
|
-
# @attr width [Integer] Thumbnail width, usually shouldn't exceed 320.
|
8
|
-
# Use 0 if unknown.
|
9
|
-
# @attr height [Integer] Thumbnail height, usually shouldn't exceed 320.
|
10
|
-
# Use 0 if unknown.
|
11
|
-
class InputThumbnail < Base
|
12
|
-
attribute :thumbnail, TD::Types::InputFile
|
13
|
-
attribute :width, TD::Types::Integer
|
14
|
-
attribute :height, TD::Types::Integer
|
15
|
-
end
|
16
|
-
end
|
data/lib/tdlib/types/invoice.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Product invoice.
|
3
|
-
#
|
4
|
-
# @attr currency [String] ISO 4217 currency code.
|
5
|
-
# @attr price_parts [Array<TD::Types::LabeledPricePart>] A list of objects used to calculate the total price of the
|
6
|
-
# product.
|
7
|
-
# @attr is_test [Boolean] True, if the payment is a test payment.
|
8
|
-
# @attr need_name [Boolean] True, if the user's name is needed for payment.
|
9
|
-
# @attr need_phone_number [Boolean] True, if the user's phone number is needed for payment.
|
10
|
-
# @attr need_email_address [Boolean] True, if the user's email address is needed for payment.
|
11
|
-
# @attr need_shipping_address [Boolean] True, if the user's shipping address is needed for payment.
|
12
|
-
# @attr send_phone_number_to_provider [Boolean] True, if the user's phone number will be sent to the provider.
|
13
|
-
# @attr send_email_address_to_provider [Boolean] True, if the user's email address will be sent to the provider.
|
14
|
-
# @attr is_flexible [Boolean] True, if the total price depends on the shipping method.
|
15
|
-
class Invoice < Base
|
16
|
-
attribute :currency, TD::Types::String
|
17
|
-
attribute :price_parts, TD::Types::Array.of(TD::Types::LabeledPricePart)
|
18
|
-
attribute :is_test, TD::Types::Bool
|
19
|
-
attribute :need_name, TD::Types::Bool
|
20
|
-
attribute :need_phone_number, TD::Types::Bool
|
21
|
-
attribute :need_email_address, TD::Types::Bool
|
22
|
-
attribute :need_shipping_address, TD::Types::Bool
|
23
|
-
attribute :send_phone_number_to_provider, TD::Types::Bool
|
24
|
-
attribute :send_email_address_to_provider, TD::Types::Bool
|
25
|
-
attribute :is_flexible, TD::Types::Bool
|
26
|
-
end
|
27
|
-
end
|
@@ -1,10 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Represents one member of a JSON object.
|
3
|
-
#
|
4
|
-
# @attr key [String] Member's key.
|
5
|
-
# @attr value [TD::Types::JsonValue] Member's value.
|
6
|
-
class JsonObjectMember < Base
|
7
|
-
attribute :key, TD::Types::String
|
8
|
-
attribute :value, TD::Types::JsonValue
|
9
|
-
end
|
10
|
-
end
|
@@ -1,10 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Represents a single button in a bot keyboard.
|
3
|
-
#
|
4
|
-
# @attr text [String] Text of the button.
|
5
|
-
# @attr type [TD::Types::KeyboardButtonType] Type of the button.
|
6
|
-
class KeyboardButton < Base
|
7
|
-
attribute :text, TD::Types::String
|
8
|
-
attribute :type, TD::Types::KeyboardButtonType
|
9
|
-
end
|
10
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module TD::Types
|
2
|
-
# Describes a keyboard button type.
|
3
|
-
class KeyboardButtonType < Base
|
4
|
-
%w[
|
5
|
-
text
|
6
|
-
request_phone_number
|
7
|
-
request_location
|
8
|
-
].each do |type|
|
9
|
-
autoload TD::Types.camelize(type), "tdlib/types/keyboard_button_type/#{type}"
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|