Class: TD::Types::Update::ChatIsMarkedAsUnread

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_is_marked_as_unread.rb

Overview

A chat was marked as unread or was read.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



6
7
8
# File 'lib/tdlib/types/update/chat_is_marked_as_unread.rb', line 6

def chat_id
  @chat_id
end

#is_marked_as_unreadBoolean

New value of is_marked_as_unread.

Returns:

  • (Boolean)

    the current value of is_marked_as_unread



6
7
8
# File 'lib/tdlib/types/update/chat_is_marked_as_unread.rb', line 6

def is_marked_as_unread
  @is_marked_as_unread
end