Class: TD::Types::InputStoryAreaType::Message

Inherits:
TD::Types::InputStoryAreaType show all
Defined in:
lib/tdlib/types/input_story_area_type/message.rb

Overview

An area pointing to a message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Identifier of the chat with the message. Currently, the chat must be a supergroup or a channel chat.

Returns:

  • (Integer)

    the current value of chat_id



8
9
10
# File 'lib/tdlib/types/input_story_area_type/message.rb', line 8

def chat_id
  @chat_id
end

#message_idInteger

Identifier of the message. Use messageProperties.can_be_shared_in_story to check whether the message is suitable.

Returns:

  • (Integer)

    the current value of message_id



8
9
10
# File 'lib/tdlib/types/input_story_area_type/message.rb', line 8

def message_id
  @message_id
end