Sha256: 15a80296f9422a00597149f7e3371b02e059c663093d9ca4f8a944c7af3d0bb1

Contents?: true

Size: 960 Bytes

Versions: 2

Compression:

Stored size: 960 Bytes

Contents

module TD::Types
  # User rights changed in a chat; for bots only.
  #
  # @attr chat_id [Integer] Chat identifier.
  # @attr actor_user_id [Integer] Identifier of the user, changing the rights.
  # @attr date [Integer] Point in time (Unix timestamp) when the user rights was changed.
  # @attr invite_link [TD::Types::ChatInviteLink, nil] If user has joined the chat using an invite link, the invite
  #   link; may be null.
  # @attr old_chat_member [TD::Types::ChatMember] Previous chat member.
  # @attr new_chat_member [TD::Types::ChatMember] New chat member.
  class Update::ChatMember < Update
    attribute :chat_id, TD::Types::Coercible::Integer
    attribute :actor_user_id, TD::Types::Coercible::Integer
    attribute :date, TD::Types::Coercible::Integer
    attribute :invite_link, TD::Types::ChatInviteLink.optional.default(nil)
    attribute :old_chat_member, TD::Types::ChatMember
    attribute :new_chat_member, TD::Types::ChatMember
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/update/chat_member.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/update/chat_member.rb