tdlib-ruby 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -1
  3. data/README.md +2 -1
  4. data/bin/parser +2 -3
  5. data/lib/tdlib/client_methods.rb +341 -108
  6. data/lib/tdlib/types.rb +69 -9
  7. data/lib/tdlib/types/audio.rb +1 -1
  8. data/lib/tdlib/types/authorization_state.rb +1 -0
  9. data/lib/tdlib/types/authorization_state/wait_other_device_confirmation.rb +9 -0
  10. data/lib/tdlib/types/authorization_state/wait_phone_number.rb +2 -0
  11. data/lib/tdlib/types/auto_download_settings.rb +5 -3
  12. data/lib/tdlib/types/background.rb +1 -1
  13. data/lib/tdlib/types/background_fill.rb +11 -0
  14. data/lib/tdlib/types/background_fill/gradient.rb +13 -0
  15. data/lib/tdlib/types/background_fill/solid.rb +8 -0
  16. data/lib/tdlib/types/background_type.rb +1 -1
  17. data/lib/tdlib/types/background_type/fill.rb +8 -0
  18. data/lib/tdlib/types/background_type/pattern.rb +7 -6
  19. data/lib/tdlib/types/background_type/wallpaper.rb +1 -1
  20. data/lib/tdlib/types/base.rb +1 -1
  21. data/lib/tdlib/types/basic_group_full_info.rb +2 -2
  22. data/lib/tdlib/types/call_protocol.rb +2 -2
  23. data/lib/tdlib/types/can_transfer_ownership_result.rb +13 -0
  24. data/lib/tdlib/types/can_transfer_ownership_result/ok.rb +5 -0
  25. data/lib/tdlib/types/can_transfer_ownership_result/password_needed.rb +5 -0
  26. data/lib/tdlib/types/can_transfer_ownership_result/password_too_fresh.rb +8 -0
  27. data/lib/tdlib/types/can_transfer_ownership_result/session_too_fresh.rb +8 -0
  28. data/lib/tdlib/types/chat.rb +9 -2
  29. data/lib/tdlib/types/chat_action_bar.rb +14 -0
  30. data/lib/tdlib/types/chat_action_bar/add_contact.rb +6 -0
  31. data/lib/tdlib/types/chat_action_bar/report_add_block.rb +6 -0
  32. data/lib/tdlib/types/chat_action_bar/report_spam.rb +5 -0
  33. data/lib/tdlib/types/chat_action_bar/report_unrelated_location.rb +6 -0
  34. data/lib/tdlib/types/chat_action_bar/share_phone_number.rb +6 -0
  35. data/lib/tdlib/types/chat_administrator.rb +12 -0
  36. data/lib/tdlib/types/chat_administrators.rb +8 -0
  37. data/lib/tdlib/types/chat_event_action.rb +3 -0
  38. data/lib/tdlib/types/chat_event_action/linked_chat_changed.rb +10 -0
  39. data/lib/tdlib/types/chat_event_action/location_changed.rb +10 -0
  40. data/lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb +10 -0
  41. data/lib/tdlib/types/chat_invite_link_info.rb +2 -1
  42. data/lib/tdlib/types/chat_list.rb +11 -0
  43. data/lib/tdlib/types/chat_list/archive.rb +6 -0
  44. data/lib/tdlib/types/chat_list/main.rb +5 -0
  45. data/lib/tdlib/types/chat_location.rb +10 -0
  46. data/lib/tdlib/types/chat_member_status/administrator.rb +4 -1
  47. data/lib/tdlib/types/chat_member_status/creator.rb +4 -1
  48. data/lib/tdlib/types/chat_members_filter/administrators.rb +1 -1
  49. data/lib/tdlib/types/chat_nearby.rb +10 -0
  50. data/lib/tdlib/types/chat_report_reason.rb +1 -0
  51. data/lib/tdlib/types/chat_report_reason/unrelated_location.rb +5 -0
  52. data/lib/tdlib/types/chats_nearby.rb +10 -0
  53. data/lib/tdlib/types/formatted_text.rb +4 -0
  54. data/lib/tdlib/types/inline_keyboard_button_type/login_url.rb +1 -1
  55. data/lib/tdlib/types/input_file/remote.rb +4 -0
  56. data/lib/tdlib/types/input_inline_query_result/sticker.rb +2 -2
  57. data/lib/tdlib/types/input_message_content/text.rb +2 -1
  58. data/lib/tdlib/types/log_stream/file.rb +2 -2
  59. data/lib/tdlib/types/login_url_info.rb +11 -0
  60. data/lib/tdlib/types/login_url_info/open.rb +10 -0
  61. data/lib/tdlib/types/login_url_info/request_confirmation.rb +15 -0
  62. data/lib/tdlib/types/message.rb +7 -1
  63. data/lib/tdlib/types/message_forward_info.rb +5 -5
  64. data/lib/tdlib/types/message_scheduling_state.rb +11 -0
  65. data/lib/tdlib/types/message_scheduling_state/send_at_date.rb +9 -0
  66. data/lib/tdlib/types/message_scheduling_state/send_when_online.rb +6 -0
  67. data/lib/tdlib/types/notification.rb +2 -0
  68. data/lib/tdlib/types/page_block.rb +1 -0
  69. data/lib/tdlib/types/page_block/voice_note.rb +10 -0
  70. data/lib/tdlib/types/page_block_table_cell.rb +3 -2
  71. data/lib/tdlib/types/public_chat_type.rb +11 -0
  72. data/lib/tdlib/types/public_chat_type/has_username.rb +5 -0
  73. data/lib/tdlib/types/public_chat_type/is_location_based.rb +5 -0
  74. data/lib/tdlib/types/public_message_link.rb +1 -1
  75. data/lib/tdlib/types/push_message_content/chat_add_members.rb +1 -1
  76. data/lib/tdlib/types/push_message_content/chat_delete_member.rb +1 -1
  77. data/lib/tdlib/types/remote_file.rb +5 -0
  78. data/lib/tdlib/types/rich_text/strikethrough.rb +1 -1
  79. data/lib/tdlib/types/rich_text/url.rb +2 -0
  80. data/lib/tdlib/types/secret_chat.rb +5 -4
  81. data/lib/tdlib/types/send_message_options.rb +14 -0
  82. data/lib/tdlib/types/supergroup.rb +12 -8
  83. data/lib/tdlib/types/supergroup_full_info.rb +17 -3
  84. data/lib/tdlib/types/supergroup_members_filter/administrators.rb +1 -1
  85. data/lib/tdlib/types/terms_of_service.rb +1 -1
  86. data/lib/tdlib/types/text_entity_type.rb +3 -1
  87. data/lib/tdlib/types/text_entity_type/strikethrough.rb +5 -0
  88. data/lib/tdlib/types/text_entity_type/underline.rb +5 -0
  89. data/lib/tdlib/types/text_parse_mode/markdown.rb +4 -0
  90. data/lib/tdlib/types/ton_lite_server_response.rb +8 -0
  91. data/lib/tdlib/types/ton_wallet_password_salt.rb +8 -0
  92. data/lib/tdlib/types/top_chat_category.rb +1 -0
  93. data/lib/tdlib/types/top_chat_category/forward_chats.rb +5 -0
  94. data/lib/tdlib/types/update.rb +5 -0
  95. data/lib/tdlib/types/update/active_notifications.rb +1 -1
  96. data/lib/tdlib/types/update/chat_action_bar.rb +10 -0
  97. data/lib/tdlib/types/update/chat_chat_list.rb +11 -0
  98. data/lib/tdlib/types/update/chat_has_scheduled_messages.rb +10 -0
  99. data/lib/tdlib/types/update/chat_last_message.rb +1 -1
  100. data/lib/tdlib/types/update/chat_order.rb +2 -1
  101. data/lib/tdlib/types/update/have_pending_notifications.rb +1 -1
  102. data/lib/tdlib/types/update/message_live_location_viewed.rb +11 -0
  103. data/lib/tdlib/types/update/new_callback_query.rb +1 -1
  104. data/lib/tdlib/types/update/unread_chat_count.rb +5 -1
  105. data/lib/tdlib/types/update/unread_message_count.rb +4 -2
  106. data/lib/tdlib/types/update/users_nearby.rb +9 -0
  107. data/lib/tdlib/types/user.rb +7 -10
  108. data/lib/tdlib/types/user_full_info.rb +3 -0
  109. data/lib/tdlib/types/user_privacy_setting.rb +2 -0
  110. data/lib/tdlib/types/user_privacy_setting/allow_finding_by_phone_number.rb +7 -0
  111. data/lib/tdlib/types/user_privacy_setting/show_phone_number.rb +5 -0
  112. data/lib/tdlib/types/user_privacy_setting_rule.rb +2 -0
  113. data/lib/tdlib/types/user_privacy_setting_rule/allow_chat_members.rb +8 -0
  114. data/lib/tdlib/types/user_privacy_setting_rule/allow_users.rb +1 -1
  115. data/lib/tdlib/types/user_privacy_setting_rule/restrict_chat_members.rb +8 -0
  116. data/lib/tdlib/types/user_privacy_setting_rule/restrict_users.rb +1 -1
  117. data/lib/tdlib/types/user_type/deleted.rb +1 -1
  118. data/lib/tdlib/types/user_type/unknown.rb +1 -1
  119. data/lib/tdlib/types/video.rb +1 -1
  120. data/lib/tdlib/version.rb +1 -1
  121. data/tdlib-ruby.gemspec +6 -6
  122. metadata +68 -21
  123. data/lib/tdlib/types/background_type/solid.rb +0 -8
  124. data/lib/tdlib/types/chat_report_spam_state.rb +0 -8
  125. data/lib/tdlib/types/link_state.rb +0 -13
  126. data/lib/tdlib/types/link_state/is_contact.rb +0 -5
  127. data/lib/tdlib/types/link_state/knows_phone_number.rb +0 -5
  128. data/lib/tdlib/types/link_state/none.rb +0 -5
@@ -0,0 +1,5 @@
1
+ module TD::Types
2
+ # A strikethrough text.
3
+ class TextEntityType::Strikethrough < TextEntityType
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module TD::Types
2
+ # An underlined text.
3
+ class TextEntityType::Underline < TextEntityType
4
+ end
5
+ end
@@ -1,5 +1,9 @@
1
1
  module TD::Types
2
2
  # The text should be parsed in markdown-style.
3
+ #
4
+ # @attr version [Integer] Version of the parser: 0 or 1 - Bot API Markdown parse mode, 2 - Bot API MarkdownV2 parse
5
+ # mode.
3
6
  class TextParseMode::Markdown < TextParseMode
7
+ attribute :version, TD::Types::Integer
4
8
  end
5
9
  end
@@ -0,0 +1,8 @@
1
+ module TD::Types
2
+ # Contains the response of a request to TON lite server.
3
+ #
4
+ # @attr response [String] The response.
5
+ class TonLiteServerResponse < Base
6
+ attribute :response, TD::Types::String
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module TD::Types
2
+ # Contains the salt to be used with locally stored password to access a local TON-based wallet.
3
+ #
4
+ # @attr salt [String] The salt.
5
+ class TonWalletPasswordSalt < Base
6
+ attribute :salt, TD::Types::String
7
+ end
8
+ end
@@ -8,6 +8,7 @@ module TD::Types
8
8
  channels
9
9
  inline_bots
10
10
  calls
11
+ forward_chats
11
12
  ].each do |type|
12
13
  autoload TD::Types.camelize(type), "tdlib/types/top_chat_category/#{type}"
13
14
  end
@@ -0,0 +1,5 @@
1
+ module TD::Types
2
+ # A category containing frequently used chats used to forward messages.
3
+ class TopChatCategory::ForwardChats < TopChatCategory
4
+ end
5
+ end
@@ -12,7 +12,9 @@ module TD::Types
12
12
  message_views
13
13
  message_content_opened
14
14
  message_mention_read
15
+ message_live_location_viewed
15
16
  new_chat
17
+ chat_chat_list
16
18
  chat_title
17
19
  chat_photo
18
20
  chat_permissions
@@ -21,12 +23,14 @@ module TD::Types
21
23
  chat_is_pinned
22
24
  chat_is_marked_as_unread
23
25
  chat_is_sponsored
26
+ chat_has_scheduled_messages
24
27
  chat_default_disable_notification
25
28
  chat_read_inbox
26
29
  chat_read_outbox
27
30
  chat_unread_mention_count
28
31
  chat_notification_settings
29
32
  scope_notification_settings
33
+ chat_action_bar
30
34
  chat_pinned_message
31
35
  chat_reply_markup
32
36
  chat_draft_message
@@ -63,6 +67,7 @@ module TD::Types
63
67
  language_pack_strings
64
68
  connection_state
65
69
  terms_of_service
70
+ users_nearby
66
71
  new_inline_query
67
72
  new_chosen_inline_result
68
73
  new_callback_query
@@ -1,6 +1,6 @@
1
1
  module TD::Types
2
2
  # Contains active notifications that was shown on previous application launches.
3
- # This update is sent only if a message database is used.
3
+ # This update is sent only if the message database is used.
4
4
  # In that case it comes once before any updateNotification and updateNotificationGroup update.
5
5
  #
6
6
  # @attr groups [Array<TD::Types::NotificationGroup>] Lists of active notification groups.
@@ -0,0 +1,10 @@
1
+ module TD::Types
2
+ # The chat action bar was changed.
3
+ #
4
+ # @attr chat_id [Integer] Chat identifier.
5
+ # @attr action_bar [TD::Types::ChatActionBar, nil] The new value of the action bar; may be null.
6
+ class Update::ChatActionBar < Update
7
+ attribute :chat_id, TD::Types::Integer
8
+ attribute :action_bar, TD::Types::ChatActionBar.optional.default(nil)
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ module TD::Types
2
+ # The list to which the chat belongs was changed.
3
+ # This update is guaranteed to be sent only when chat.order == 0 and the current or the new chat list is null.
4
+ #
5
+ # @attr chat_id [Integer] Chat identifier.
6
+ # @attr chat_list [TD::Types::ChatList, nil] The new chat's chat list; may be null.
7
+ class Update::ChatChatList < Update
8
+ attribute :chat_id, TD::Types::Integer
9
+ attribute :chat_list, TD::Types::ChatList.optional.default(nil)
10
+ end
11
+ end
@@ -0,0 +1,10 @@
1
+ module TD::Types
2
+ # A chat's has_scheduled_messages field has changed.
3
+ #
4
+ # @attr chat_id [Integer] Chat identifier.
5
+ # @attr has_scheduled_messages [Boolean] New value of has_scheduled_messages.
6
+ class Update::ChatHasScheduledMessages < Update
7
+ attribute :chat_id, TD::Types::Integer
8
+ attribute :has_scheduled_messages, TD::Types::Bool
9
+ end
10
+ end
@@ -1,6 +1,6 @@
1
1
  module TD::Types
2
2
  # The last message of a chat was changed.
3
- # If last_message is null then the last message in the chat became unknown.
3
+ # If last_message is null, then the last message in the chat became unknown.
4
4
  # Some new unknown messages might be added to the chat in this case.
5
5
  #
6
6
  # @attr chat_id [Integer] Chat identifier.
@@ -1,6 +1,7 @@
1
1
  module TD::Types
2
2
  # The order of the chat in the chat list has changed.
3
- # Instead of this update updateChatLastMessage, updateChatIsPinned or updateChatDraftMessage might be sent.
3
+ # Instead of this update updateChatLastMessage, updateChatIsPinned, updateChatDraftMessage, or updateChatIsSponsored
4
+ # might be sent.
4
5
  #
5
6
  # @attr chat_id [Integer] Chat identifier.
6
7
  # @attr order [Integer] New value of the order.
@@ -1,5 +1,5 @@
1
1
  module TD::Types
2
- # Describes, whether there are some pending notification updates.
2
+ # Describes whether there are some pending notification updates.
3
3
  # Can be used to prevent application from killing, while there are some pending notifications.
4
4
  #
5
5
  # @attr have_delayed_notifications [Boolean] True, if there are some delayed notification updates, which will be sent
@@ -0,0 +1,11 @@
1
+ module TD::Types
2
+ # A message with a live location was viewed.
3
+ # When the update is received, the client is supposed to update the live location.
4
+ #
5
+ # @attr chat_id [Integer] Identifier of the chat with the live location message.
6
+ # @attr message_id [Integer] Identifier of the message with live location.
7
+ class Update::MessageLiveLocationViewed < Update
8
+ attribute :chat_id, TD::Types::Integer
9
+ attribute :message_id, TD::Types::Integer
10
+ end
11
+ end
@@ -3,7 +3,7 @@ module TD::Types
3
3
  #
4
4
  # @attr id [Integer] Unique query identifier.
5
5
  # @attr sender_user_id [Integer] Identifier of the user who sent the query.
6
- # @attr chat_id [Integer] Identifier of the chat, in which the query was sent.
6
+ # @attr chat_id [Integer] Identifier of the chat where the query was sent.
7
7
  # @attr message_id [Integer] Identifier of the message, from which the query originated.
8
8
  # @attr chat_instance [Integer] Identifier that uniquely corresponds to the chat to which the message was sent.
9
9
  # @attr payload [TD::Types::CallbackQueryPayload] Query payload.
@@ -1,13 +1,17 @@
1
1
  module TD::Types
2
2
  # Number of unread chats, i.e.
3
3
  # with unread messages or marked as unread, has changed.
4
- # This update is sent only if a message database is used.
4
+ # This update is sent only if the message database is used.
5
5
  #
6
+ # @attr chat_list [TD::Types::ChatList] The chat list with changed number of unread messages.
7
+ # @attr total_count [Integer] Approximate total number of chats in the chat list.
6
8
  # @attr unread_count [Integer] Total number of unread chats.
7
9
  # @attr unread_unmuted_count [Integer] Total number of unread unmuted chats.
8
10
  # @attr marked_as_unread_count [Integer] Total number of chats marked as unread.
9
11
  # @attr marked_as_unread_unmuted_count [Integer] Total number of unmuted chats marked as unread.
10
12
  class Update::UnreadChatCount < Update
13
+ attribute :chat_list, TD::Types::ChatList
14
+ attribute :total_count, TD::Types::Integer
11
15
  attribute :unread_count, TD::Types::Integer
12
16
  attribute :unread_unmuted_count, TD::Types::Integer
13
17
  attribute :marked_as_unread_count, TD::Types::Integer
@@ -1,10 +1,12 @@
1
1
  module TD::Types
2
- # Number of unread messages has changed.
3
- # This update is sent only if a message database is used.
2
+ # Number of unread messages in a chat list has changed.
3
+ # This update is sent only if the message database is used.
4
4
  #
5
+ # @attr chat_list [TD::Types::ChatList] The chat list with changed number of unread messages.
5
6
  # @attr unread_count [Integer] Total number of unread messages.
6
7
  # @attr unread_unmuted_count [Integer] Total number of unread messages in unmuted chats.
7
8
  class Update::UnreadMessageCount < Update
9
+ attribute :chat_list, TD::Types::ChatList
8
10
  attribute :unread_count, TD::Types::Integer
9
11
  attribute :unread_unmuted_count, TD::Types::Integer
10
12
  end
@@ -0,0 +1,9 @@
1
+ module TD::Types
2
+ # List of users nearby has changed.
3
+ # The update is sent only 60 seconds after a successful searchChatsNearby request.
4
+ #
5
+ # @attr users_nearby [Array<TD::Types::ChatNearby>] The new list of users nearby.
6
+ class Update::UsersNearby < Update
7
+ attribute :users_nearby, TD::Types::Array.of(TD::Types::ChatNearby)
8
+ end
9
+ end
@@ -8,16 +8,13 @@ module TD::Types
8
8
  # @attr phone_number [String] Phone number of the user.
9
9
  # @attr status [TD::Types::UserStatus] Current online status of the user.
10
10
  # @attr profile_photo [TD::Types::ProfilePhoto, nil] Profile photo of the user; may be null.
11
- # @attr outgoing_link [TD::Types::LinkState] Relationship from the current user to the other user.
12
- # @attr incoming_link [TD::Types::LinkState] Relationship from the other user to the current user.
11
+ # @attr is_contact [Boolean] The user is a contact of the current user.
12
+ # @attr is_mutual_contact [Boolean] The user is a contact of the current user and the current user is a contact of
13
+ # the user.
13
14
  # @attr is_verified [Boolean] True, if the user is verified.
14
15
  # @attr is_support [Boolean] True, if the user is Telegram support account.
15
- # @attr restriction_reason [String] If non-empty, it contains the reason why access to this user must be restricted.
16
- # The format of the string is "{type}: {description}".
17
- # {type} contains the type of the restriction and at least one of the suffixes "-all", "-ios", "-android", or
18
- # "-wp", which describe the platforms on which access should be restricted.
19
- # (For example, "terms-ios-android".
20
- # {description} contains a human-readable description of the restriction, which can be shown to the user).
16
+ # @attr restriction_reason [String] If non-empty, it contains a human-readable description of the reason why access
17
+ # to this user must be restricted.
21
18
  # @attr is_scam [Boolean] True, if many users reported this user as a scam.
22
19
  # @attr have_access [Boolean] If false, the user is inaccessible, and the only information known about the user is
23
20
  # inside this class.
@@ -32,8 +29,8 @@ module TD::Types
32
29
  attribute :phone_number, TD::Types::String
33
30
  attribute :status, TD::Types::UserStatus
34
31
  attribute :profile_photo, TD::Types::ProfilePhoto.optional.default(nil)
35
- attribute :outgoing_link, TD::Types::LinkState
36
- attribute :incoming_link, TD::Types::LinkState
32
+ attribute :is_contact, TD::Types::Bool
33
+ attribute :is_mutual_contact, TD::Types::Bool
37
34
  attribute :is_verified, TD::Types::Bool
38
35
  attribute :is_support, TD::Types::Bool
39
36
  attribute :restriction_reason, TD::Types::String
@@ -4,6 +4,8 @@ module TD::Types
4
4
  # @attr is_blocked [Boolean] True, if the user is blacklisted by the current user.
5
5
  # @attr can_be_called [Boolean] True, if the user can be called.
6
6
  # @attr has_private_calls [Boolean] True, if the user can't be called due to their privacy settings.
7
+ # @attr need_phone_number_privacy_exception [Boolean] True, if the current user needs to explicitly allow to share
8
+ # their phone number with the user when the method addContact is used.
7
9
  # @attr bio [String] A short user bio.
8
10
  # @attr share_text [String] For bots, the text that is included with the link when users share the bot.
9
11
  # @attr group_in_common_count [Integer] Number of group chats where both the other user and the current user are a
@@ -13,6 +15,7 @@ module TD::Types
13
15
  attribute :is_blocked, TD::Types::Bool
14
16
  attribute :can_be_called, TD::Types::Bool
15
17
  attribute :has_private_calls, TD::Types::Bool
18
+ attribute :need_phone_number_privacy_exception, TD::Types::Bool
16
19
  attribute :bio, TD::Types::String
17
20
  attribute :share_text, TD::Types::String
18
21
  attribute :group_in_common_count, TD::Types::Integer
@@ -5,9 +5,11 @@ module TD::Types
5
5
  show_status
6
6
  show_profile_photo
7
7
  show_link_in_forwarded_messages
8
+ show_phone_number
8
9
  allow_chat_invites
9
10
  allow_calls
10
11
  allow_peer_to_peer_calls
12
+ allow_finding_by_phone_number
11
13
  ].each do |type|
12
14
  autoload TD::Types.camelize(type), "tdlib/types/user_privacy_setting/#{type}"
13
15
  end
@@ -0,0 +1,7 @@
1
+ module TD::Types
2
+ # A privacy setting for managing whether the user can be found by their phone number.
3
+ # Checked only if the phone number is not known to the other user.
4
+ # Can be set only to "Allow contacts" or "Allow all".
5
+ class UserPrivacySetting::AllowFindingByPhoneNumber < UserPrivacySetting
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module TD::Types
2
+ # A privacy setting for managing whether the user's phone number is visible.
3
+ class UserPrivacySetting::ShowPhoneNumber < UserPrivacySetting
4
+ end
5
+ end
@@ -5,9 +5,11 @@ module TD::Types
5
5
  allow_all
6
6
  allow_contacts
7
7
  allow_users
8
+ allow_chat_members
8
9
  restrict_all
9
10
  restrict_contacts
10
11
  restrict_users
12
+ restrict_chat_members
11
13
  ].each do |type|
12
14
  autoload TD::Types.camelize(type), "tdlib/types/user_privacy_setting_rule/#{type}"
13
15
  end
@@ -0,0 +1,8 @@
1
+ module TD::Types
2
+ # A rule to allow all members of certain specified basic groups and supergroups to doing something.
3
+ #
4
+ # @attr chat_ids [Array<Integer>] The chat identifiers, total number of chats in all rules must not exceed 20.
5
+ class UserPrivacySettingRule::AllowChatMembers < UserPrivacySettingRule
6
+ attribute :chat_ids, TD::Types::Array.of(TD::Types::Integer)
7
+ end
8
+ end
@@ -1,7 +1,7 @@
1
1
  module TD::Types
2
2
  # A rule to allow certain specified users to do something.
3
3
  #
4
- # @attr user_ids [Array<Integer>] The user identifiers.
4
+ # @attr user_ids [Array<Integer>] The user identifiers, total number of users in all rules must not exceed 1000.
5
5
  class UserPrivacySettingRule::AllowUsers < UserPrivacySettingRule
6
6
  attribute :user_ids, TD::Types::Array.of(TD::Types::Integer)
7
7
  end
@@ -0,0 +1,8 @@
1
+ module TD::Types
2
+ # A rule to restrict all members of specified basic groups and supergroups from doing something.
3
+ #
4
+ # @attr chat_ids [Array<Integer>] The chat identifiers, total number of chats in all rules must not exceed 20.
5
+ class UserPrivacySettingRule::RestrictChatMembers < UserPrivacySettingRule
6
+ attribute :chat_ids, TD::Types::Array.of(TD::Types::Integer)
7
+ end
8
+ end
@@ -1,7 +1,7 @@
1
1
  module TD::Types
2
2
  # A rule to restrict all specified users from doing something.
3
3
  #
4
- # @attr user_ids [Array<Integer>] The user identifiers.
4
+ # @attr user_ids [Array<Integer>] The user identifiers, total number of users in all rules must not exceed 1000.
5
5
  class UserPrivacySettingRule::RestrictUsers < UserPrivacySettingRule
6
6
  attribute :user_ids, TD::Types::Array.of(TD::Types::Integer)
7
7
  end
@@ -1,6 +1,6 @@
1
1
  module TD::Types
2
2
  # A deleted user or deleted bot.
3
- # No information on the user besides the user_id is available.
3
+ # No information on the user besides the user identifier is available.
4
4
  # It is not possible to perform any active actions on this type of user.
5
5
  class UserType::Deleted < UserType
6
6
  end
@@ -1,5 +1,5 @@
1
1
  module TD::Types
2
- # No information on the user besides the user_id is available, yet this user has not been deleted.
2
+ # No information on the user besides the user identifier is available, yet this user has not been deleted.
3
3
  # This object is extremely rare and must be handled like a deleted user.
4
4
  # It is not possible to perform any actions on users of this type.
5
5
  class UserType::Unknown < UserType
@@ -6,7 +6,7 @@ module TD::Types
6
6
  # @attr height [Integer] Video height; as defined by the sender.
7
7
  # @attr file_name [String] Original name of the file; as defined by the sender.
8
8
  # @attr mime_type [String] MIME type of the file; as defined by the sender.
9
- # @attr has_stickers [Boolean] True, if stickers were added to the photo.
9
+ # @attr has_stickers [Boolean] True, if stickers were added to the video.
10
10
  # @attr supports_streaming [Boolean] True, if the video should be tried to be streamed.
11
11
  # @attr minithumbnail [TD::Types::Minithumbnail, nil] Video minithumbnail; may be null.
12
12
  # @attr thumbnail [TD::Types::PhotoSize, nil] Video thumbnail; as defined by the sender; may be null.
@@ -1,4 +1,4 @@
1
1
  module TD
2
2
  # tdlib-ruby version
3
- VERSION = "2.1.0"
3
+ VERSION = "2.2.0"
4
4
  end
@@ -20,14 +20,14 @@ Gem::Specification.new do |gem|
20
20
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
21
21
  gem.require_paths = ['lib']
22
22
 
23
- gem.add_runtime_dependency 'dry-configurable', '~> 0.7'
24
- gem.add_runtime_dependency 'dry-struct', '~> 0.5.1'
25
- gem.add_runtime_dependency 'dry-types', '~> 0.13.2'
26
- gem.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
23
+ gem.add_runtime_dependency 'dry-configurable', '~> 0.9'
24
+ gem.add_runtime_dependency 'dry-struct', '~> 1.2.0'
25
+ gem.add_runtime_dependency 'dry-types', '~> 1.2.0'
26
+ gem.add_runtime_dependency 'concurrent-ruby', '~> 1.1'
27
27
  gem.add_runtime_dependency 'ffi', '~> 1.0'
28
28
 
29
- gem.add_development_dependency 'bundler', '~> 1.10'
30
- gem.add_development_dependency 'rake', '~> 12.3'
29
+ gem.add_development_dependency 'bundler', '~> 2.0'
30
+ gem.add_development_dependency 'rake', '~> 13.0'
31
31
  gem.add_development_dependency 'rspec', '~> 3.0'
32
32
  gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
33
33
  gem.add_development_dependency 'yard', '~> 0.9'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdlib-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Southbridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-18 00:00:00.000000000 Z
11
+ date: 2020-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.7'
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dry-struct
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.5.1
33
+ version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.5.1
40
+ version: 1.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dry-types
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.13.2
47
+ version: 1.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.13.2
54
+ version: 1.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: concurrent-ruby
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.0'
61
+ version: '1.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.0'
68
+ version: '1.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: ffi
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.10'
89
+ version: '2.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.10'
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '12.3'
103
+ version: '13.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '12.3'
110
+ version: '13.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -225,6 +225,7 @@ files:
225
225
  - lib/tdlib/types/authorization_state/ready.rb
226
226
  - lib/tdlib/types/authorization_state/wait_code.rb
227
227
  - lib/tdlib/types/authorization_state/wait_encryption_key.rb
228
+ - lib/tdlib/types/authorization_state/wait_other_device_confirmation.rb
228
229
  - lib/tdlib/types/authorization_state/wait_password.rb
229
230
  - lib/tdlib/types/authorization_state/wait_phone_number.rb
230
231
  - lib/tdlib/types/authorization_state/wait_registration.rb
@@ -232,9 +233,12 @@ files:
232
233
  - lib/tdlib/types/auto_download_settings.rb
233
234
  - lib/tdlib/types/auto_download_settings_presets.rb
234
235
  - lib/tdlib/types/background.rb
236
+ - lib/tdlib/types/background_fill.rb
237
+ - lib/tdlib/types/background_fill/gradient.rb
238
+ - lib/tdlib/types/background_fill/solid.rb
235
239
  - lib/tdlib/types/background_type.rb
240
+ - lib/tdlib/types/background_type/fill.rb
236
241
  - lib/tdlib/types/background_type/pattern.rb
237
- - lib/tdlib/types/background_type/solid.rb
238
242
  - lib/tdlib/types/background_type/wallpaper.rb
239
243
  - lib/tdlib/types/backgrounds.rb
240
244
  - lib/tdlib/types/base.rb
@@ -271,6 +275,11 @@ files:
271
275
  - lib/tdlib/types/callback_query_payload.rb
272
276
  - lib/tdlib/types/callback_query_payload/data.rb
273
277
  - lib/tdlib/types/callback_query_payload/game.rb
278
+ - lib/tdlib/types/can_transfer_ownership_result.rb
279
+ - lib/tdlib/types/can_transfer_ownership_result/ok.rb
280
+ - lib/tdlib/types/can_transfer_ownership_result/password_needed.rb
281
+ - lib/tdlib/types/can_transfer_ownership_result/password_too_fresh.rb
282
+ - lib/tdlib/types/can_transfer_ownership_result/session_too_fresh.rb
274
283
  - lib/tdlib/types/chat.rb
275
284
  - lib/tdlib/types/chat_action.rb
276
285
  - lib/tdlib/types/chat_action/cancel.rb
@@ -286,11 +295,21 @@ files:
286
295
  - lib/tdlib/types/chat_action/uploading_video.rb
287
296
  - lib/tdlib/types/chat_action/uploading_video_note.rb
288
297
  - lib/tdlib/types/chat_action/uploading_voice_note.rb
298
+ - lib/tdlib/types/chat_action_bar.rb
299
+ - lib/tdlib/types/chat_action_bar/add_contact.rb
300
+ - lib/tdlib/types/chat_action_bar/report_add_block.rb
301
+ - lib/tdlib/types/chat_action_bar/report_spam.rb
302
+ - lib/tdlib/types/chat_action_bar/report_unrelated_location.rb
303
+ - lib/tdlib/types/chat_action_bar/share_phone_number.rb
304
+ - lib/tdlib/types/chat_administrator.rb
305
+ - lib/tdlib/types/chat_administrators.rb
289
306
  - lib/tdlib/types/chat_event.rb
290
307
  - lib/tdlib/types/chat_event_action.rb
291
308
  - lib/tdlib/types/chat_event_action/description_changed.rb
292
309
  - lib/tdlib/types/chat_event_action/invites_toggled.rb
293
310
  - lib/tdlib/types/chat_event_action/is_all_history_available_toggled.rb
311
+ - lib/tdlib/types/chat_event_action/linked_chat_changed.rb
312
+ - lib/tdlib/types/chat_event_action/location_changed.rb
294
313
  - lib/tdlib/types/chat_event_action/member_invited.rb
295
314
  - lib/tdlib/types/chat_event_action/member_joined.rb
296
315
  - lib/tdlib/types/chat_event_action/member_left.rb
@@ -304,6 +323,7 @@ files:
304
323
  - lib/tdlib/types/chat_event_action/photo_changed.rb
305
324
  - lib/tdlib/types/chat_event_action/poll_stopped.rb
306
325
  - lib/tdlib/types/chat_event_action/sign_messages_toggled.rb
326
+ - lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb
307
327
  - lib/tdlib/types/chat_event_action/sticker_set_changed.rb
308
328
  - lib/tdlib/types/chat_event_action/title_changed.rb
309
329
  - lib/tdlib/types/chat_event_action/username_changed.rb
@@ -311,6 +331,10 @@ files:
311
331
  - lib/tdlib/types/chat_events.rb
312
332
  - lib/tdlib/types/chat_invite_link.rb
313
333
  - lib/tdlib/types/chat_invite_link_info.rb
334
+ - lib/tdlib/types/chat_list.rb
335
+ - lib/tdlib/types/chat_list/archive.rb
336
+ - lib/tdlib/types/chat_list/main.rb
337
+ - lib/tdlib/types/chat_location.rb
314
338
  - lib/tdlib/types/chat_member.rb
315
339
  - lib/tdlib/types/chat_member_status.rb
316
340
  - lib/tdlib/types/chat_member_status/administrator.rb
@@ -327,6 +351,7 @@ files:
327
351
  - lib/tdlib/types/chat_members_filter/contacts.rb
328
352
  - lib/tdlib/types/chat_members_filter/members.rb
329
353
  - lib/tdlib/types/chat_members_filter/restricted.rb
354
+ - lib/tdlib/types/chat_nearby.rb
330
355
  - lib/tdlib/types/chat_notification_settings.rb
331
356
  - lib/tdlib/types/chat_permissions.rb
332
357
  - lib/tdlib/types/chat_photo.rb
@@ -336,14 +361,15 @@ files:
336
361
  - lib/tdlib/types/chat_report_reason/custom.rb
337
362
  - lib/tdlib/types/chat_report_reason/pornography.rb
338
363
  - lib/tdlib/types/chat_report_reason/spam.rb
364
+ - lib/tdlib/types/chat_report_reason/unrelated_location.rb
339
365
  - lib/tdlib/types/chat_report_reason/violence.rb
340
- - lib/tdlib/types/chat_report_spam_state.rb
341
366
  - lib/tdlib/types/chat_type.rb
342
367
  - lib/tdlib/types/chat_type/basic_group.rb
343
368
  - lib/tdlib/types/chat_type/private.rb
344
369
  - lib/tdlib/types/chat_type/secret.rb
345
370
  - lib/tdlib/types/chat_type/supergroup.rb
346
371
  - lib/tdlib/types/chats.rb
372
+ - lib/tdlib/types/chats_nearby.rb
347
373
  - lib/tdlib/types/check_chat_username_result.rb
348
374
  - lib/tdlib/types/check_chat_username_result/ok.rb
349
375
  - lib/tdlib/types/check_chat_username_result/public_chats_too_much.rb
@@ -529,10 +555,6 @@ files:
529
555
  - lib/tdlib/types/language_pack_string_value/ordinary.rb
530
556
  - lib/tdlib/types/language_pack_string_value/pluralized.rb
531
557
  - lib/tdlib/types/language_pack_strings.rb
532
- - lib/tdlib/types/link_state.rb
533
- - lib/tdlib/types/link_state/is_contact.rb
534
- - lib/tdlib/types/link_state/knows_phone_number.rb
535
- - lib/tdlib/types/link_state/none.rb
536
558
  - lib/tdlib/types/local_file.rb
537
559
  - lib/tdlib/types/localization_target_info.rb
538
560
  - lib/tdlib/types/location.rb
@@ -542,6 +564,9 @@ files:
542
564
  - lib/tdlib/types/log_stream/file.rb
543
565
  - lib/tdlib/types/log_tags.rb
544
566
  - lib/tdlib/types/log_verbosity_level.rb
567
+ - lib/tdlib/types/login_url_info.rb
568
+ - lib/tdlib/types/login_url_info/open.rb
569
+ - lib/tdlib/types/login_url_info/request_confirmation.rb
545
570
  - lib/tdlib/types/mask_point.rb
546
571
  - lib/tdlib/types/mask_point/chin.rb
547
572
  - lib/tdlib/types/mask_point/eyes.rb
@@ -596,6 +621,9 @@ files:
596
621
  - lib/tdlib/types/message_forward_origin/hidden_user.rb
597
622
  - lib/tdlib/types/message_forward_origin/user.rb
598
623
  - lib/tdlib/types/message_link_info.rb
624
+ - lib/tdlib/types/message_scheduling_state.rb
625
+ - lib/tdlib/types/message_scheduling_state/send_at_date.rb
626
+ - lib/tdlib/types/message_scheduling_state/send_when_online.rb
599
627
  - lib/tdlib/types/message_sending_state.rb
600
628
  - lib/tdlib/types/message_sending_state/failed.rb
601
629
  - lib/tdlib/types/message_sending_state/pending.rb
@@ -663,6 +691,7 @@ files:
663
691
  - lib/tdlib/types/page_block/table.rb
664
692
  - lib/tdlib/types/page_block/title.rb
665
693
  - lib/tdlib/types/page_block/video.rb
694
+ - lib/tdlib/types/page_block/voice_note.rb
666
695
  - lib/tdlib/types/page_block_caption.rb
667
696
  - lib/tdlib/types/page_block_horizontal_alignment.rb
668
697
  - lib/tdlib/types/page_block_horizontal_alignment/center.rb
@@ -738,6 +767,9 @@ files:
738
767
  - lib/tdlib/types/proxy_type/http.rb
739
768
  - lib/tdlib/types/proxy_type/mtproto.rb
740
769
  - lib/tdlib/types/proxy_type/socks5.rb
770
+ - lib/tdlib/types/public_chat_type.rb
771
+ - lib/tdlib/types/public_chat_type/has_username.rb
772
+ - lib/tdlib/types/public_chat_type/is_location_based.rb
741
773
  - lib/tdlib/types/public_message_link.rb
742
774
  - lib/tdlib/types/push_message_content.rb
743
775
  - lib/tdlib/types/push_message_content/animation.rb
@@ -815,6 +847,7 @@ files:
815
847
  - lib/tdlib/types/secret_chat_state/closed.rb
816
848
  - lib/tdlib/types/secret_chat_state/pending.rb
817
849
  - lib/tdlib/types/secret_chat_state/ready.rb
850
+ - lib/tdlib/types/send_message_options.rb
818
851
  - lib/tdlib/types/session.rb
819
852
  - lib/tdlib/types/sessions.rb
820
853
  - lib/tdlib/types/shipping_option.rb
@@ -863,15 +896,20 @@ files:
863
896
  - lib/tdlib/types/text_entity_type/phone_number.rb
864
897
  - lib/tdlib/types/text_entity_type/pre.rb
865
898
  - lib/tdlib/types/text_entity_type/pre_code.rb
899
+ - lib/tdlib/types/text_entity_type/strikethrough.rb
866
900
  - lib/tdlib/types/text_entity_type/text_url.rb
901
+ - lib/tdlib/types/text_entity_type/underline.rb
867
902
  - lib/tdlib/types/text_entity_type/url.rb
868
903
  - lib/tdlib/types/text_parse_mode.rb
869
904
  - lib/tdlib/types/text_parse_mode/html.rb
870
905
  - lib/tdlib/types/text_parse_mode/markdown.rb
906
+ - lib/tdlib/types/ton_lite_server_response.rb
907
+ - lib/tdlib/types/ton_wallet_password_salt.rb
871
908
  - lib/tdlib/types/top_chat_category.rb
872
909
  - lib/tdlib/types/top_chat_category/bots.rb
873
910
  - lib/tdlib/types/top_chat_category/calls.rb
874
911
  - lib/tdlib/types/top_chat_category/channels.rb
912
+ - lib/tdlib/types/top_chat_category/forward_chats.rb
875
913
  - lib/tdlib/types/top_chat_category/groups.rb
876
914
  - lib/tdlib/types/top_chat_category/inline_bots.rb
877
915
  - lib/tdlib/types/top_chat_category/users.rb
@@ -881,8 +919,11 @@ files:
881
919
  - lib/tdlib/types/update/basic_group.rb
882
920
  - lib/tdlib/types/update/basic_group_full_info.rb
883
921
  - lib/tdlib/types/update/call.rb
922
+ - lib/tdlib/types/update/chat_action_bar.rb
923
+ - lib/tdlib/types/update/chat_chat_list.rb
884
924
  - lib/tdlib/types/update/chat_default_disable_notification.rb
885
925
  - lib/tdlib/types/update/chat_draft_message.rb
926
+ - lib/tdlib/types/update/chat_has_scheduled_messages.rb
886
927
  - lib/tdlib/types/update/chat_is_marked_as_unread.rb
887
928
  - lib/tdlib/types/update/chat_is_pinned.rb
888
929
  - lib/tdlib/types/update/chat_is_sponsored.rb
@@ -910,6 +951,7 @@ files:
910
951
  - lib/tdlib/types/update/message_content.rb
911
952
  - lib/tdlib/types/update/message_content_opened.rb
912
953
  - lib/tdlib/types/update/message_edited.rb
954
+ - lib/tdlib/types/update/message_live_location_viewed.rb
913
955
  - lib/tdlib/types/update/message_mention_read.rb
914
956
  - lib/tdlib/types/update/message_send_acknowledged.rb
915
957
  - lib/tdlib/types/update/message_send_failed.rb
@@ -946,21 +988,26 @@ files:
946
988
  - lib/tdlib/types/update/user_full_info.rb
947
989
  - lib/tdlib/types/update/user_privacy_setting_rules.rb
948
990
  - lib/tdlib/types/update/user_status.rb
991
+ - lib/tdlib/types/update/users_nearby.rb
949
992
  - lib/tdlib/types/updates.rb
950
993
  - lib/tdlib/types/user.rb
951
994
  - lib/tdlib/types/user_full_info.rb
952
995
  - lib/tdlib/types/user_privacy_setting.rb
953
996
  - lib/tdlib/types/user_privacy_setting/allow_calls.rb
954
997
  - lib/tdlib/types/user_privacy_setting/allow_chat_invites.rb
998
+ - lib/tdlib/types/user_privacy_setting/allow_finding_by_phone_number.rb
955
999
  - lib/tdlib/types/user_privacy_setting/allow_peer_to_peer_calls.rb
956
1000
  - lib/tdlib/types/user_privacy_setting/show_link_in_forwarded_messages.rb
1001
+ - lib/tdlib/types/user_privacy_setting/show_phone_number.rb
957
1002
  - lib/tdlib/types/user_privacy_setting/show_profile_photo.rb
958
1003
  - lib/tdlib/types/user_privacy_setting/show_status.rb
959
1004
  - lib/tdlib/types/user_privacy_setting_rule.rb
960
1005
  - lib/tdlib/types/user_privacy_setting_rule/allow_all.rb
1006
+ - lib/tdlib/types/user_privacy_setting_rule/allow_chat_members.rb
961
1007
  - lib/tdlib/types/user_privacy_setting_rule/allow_contacts.rb
962
1008
  - lib/tdlib/types/user_privacy_setting_rule/allow_users.rb
963
1009
  - lib/tdlib/types/user_privacy_setting_rule/restrict_all.rb
1010
+ - lib/tdlib/types/user_privacy_setting_rule/restrict_chat_members.rb
964
1011
  - lib/tdlib/types/user_privacy_setting_rule/restrict_contacts.rb
965
1012
  - lib/tdlib/types/user_privacy_setting_rule/restrict_users.rb
966
1013
  - lib/tdlib/types/user_privacy_setting_rules.rb
@@ -1012,7 +1059,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1012
1059
  - !ruby/object:Gem::Version
1013
1060
  version: '0'
1014
1061
  requirements: []
1015
- rubygems_version: 3.0.6
1062
+ rubygems_version: 3.1.2
1016
1063
  signing_key:
1017
1064
  specification_version: 4
1018
1065
  summary: Ruby bindings and client for TDlib