Sha256: 616aa0f0708ee2c1a16b6c937be60d963623e6e8fe044ba7e4bc94092c65189c

Contents?: true

Size: 531 Bytes

Versions: 3

Compression:

Stored size: 531 Bytes

Contents

module TD::Types
  # The user was banned (and hence is not a member of the chat).
  # Implies the user can't return to the chat or view messages.
  #
  # @attr banned_until_date [Integer] Point in time (Unix timestamp) when the user will be unbanned; 0 if never.
  #   If the user is banned for more than 366 days or for less than 30 seconds from the current time, the user is
  #   considered to be banned forever.
  class ChatMemberStatus::Banned < ChatMemberStatus
    attribute :banned_until_date, TD::Types::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/chat_member_status/banned.rb
tdlib-ruby-2.1.0 lib/tdlib/types/chat_member_status/banned.rb
tdlib-ruby-2.0.0 lib/tdlib/types/chat_member_status/banned.rb