Class: TD::Types::MessageContent::PinMessage

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/pin_message.rb

Overview

A message has been pinned.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#message_idInteger

Identifier of the pinned message, can be an identifier of a deleted message or 0.

Returns:

  • (Integer)

    the current value of message_id



5
6
7
# File 'lib/tdlib/types/message_content/pin_message.rb', line 5

def message_id
  @message_id
end