Class: TD::Types::Update::DeleteMessages

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

Overview

Some messages were deleted.

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



10
11
12
# File 'lib/tdlib/types/update/delete_messages.rb', line 10

def chat_id
  @chat_id
end

#from_cacheBoolean

True, if the messages are deleted only from the cache and can possibly be retrieved again in the future.

Returns:

  • (Boolean)

    the current value of from_cache



10
11
12
# File 'lib/tdlib/types/update/delete_messages.rb', line 10

def from_cache
  @from_cache
end

#is_permanentBoolean

True, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible).

Returns:

  • (Boolean)

    the current value of is_permanent



10
11
12
# File 'lib/tdlib/types/update/delete_messages.rb', line 10

def is_permanent
  @is_permanent
end

#message_idsArray<Integer>

Identifiers of the deleted messages.

Returns:

  • (Array<Integer>)

    the current value of message_ids



10
11
12
# File 'lib/tdlib/types/update/delete_messages.rb', line 10

def message_ids
  @message_ids
end