Class: TD::Types::Update::MessageIsPinned

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

Overview

The message pinned state was changed.

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



7
8
9
# File 'lib/tdlib/types/update/message_is_pinned.rb', line 7

def chat_id
  @chat_id
end

#is_pinnedBoolean

True, if the message is pinned.

Returns:

  • (Boolean)

    the current value of is_pinned



7
8
9
# File 'lib/tdlib/types/update/message_is_pinned.rb', line 7

def is_pinned
  @is_pinned
end

#message_idInteger

The message identifier.

Returns:

  • (Integer)

    the current value of message_id



7
8
9
# File 'lib/tdlib/types/update/message_is_pinned.rb', line 7

def message_id
  @message_id
end