Class: TD::Types::Update::ChatPinnedMessage

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

Overview

The chat pinned message 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/chat_pinned_message.rb', line 7

def chat_id
  @chat_id
end

#pinned_message_idInteger

The new identifier of the pinned message; 0 if there is no pinned message in the chat.

Returns:

  • (Integer)

    the current value of pinned_message_id



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

def pinned_message_id
  @pinned_message_id
end