Sha256: 5be51966144e57fae9f0cc0764c4db386b0bf31f7956c05b26d85164edbd628e

Contents?: true

Size: 652 Bytes

Versions: 1

Compression:

Stored size: 652 Bytes

Contents

module TD::Types
  # The user or the chat was banned (and hence is not a member of the chat).
  # Implies the user can't return to the chat, view messages, or be used as a participant identifier to join a voice
  #   chat of the chat.
  #
  # @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.
  #   Always 0 in basic groups.
  class ChatMemberStatus::Banned < ChatMemberStatus
    attribute :banned_until_date, TD::Types::Integer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/chat_member_status/banned.rb