Sha256: 718ae6fd10245d010360d3a1f0861d6cac04b9d7fc736b3ee6654ecdca9d499f

Contents?: true

Size: 799 Bytes

Versions: 3

Compression:

Stored size: 799 Bytes

Contents

module TD::Types
  # The user is under certain restrictions in the chat.
  # Not supported in basic groups and channels.
  #
  # @attr is_member [Boolean] True, if the user is a member of the chat.
  # @attr restricted_until_date [Integer] Point in time (Unix timestamp) when restrictions will be lifted from the
  #   user; 0 if never.
  #   If the user is restricted for more than 366 days or for less than 30 seconds from the current time, the user is
  #   considered to be restricted forever.
  # @attr permissions [TD::Types::ChatPermissions] User permissions in the chat.
  class ChatMemberStatus::Restricted < ChatMemberStatus
    attribute :is_member, TD::Types::Bool
    attribute :restricted_until_date, TD::Types::Integer
    attribute :permissions, TD::Types::ChatPermissions
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/chat_member_status/restricted.rb
tdlib-ruby-2.2.0 lib/tdlib/types/chat_member_status/restricted.rb
tdlib-ruby-2.1.0 lib/tdlib/types/chat_member_status/restricted.rb