Class: TD::Types::MessageForwardInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/message_forward_info.rb

Overview

Contains information about a forwarded message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dateInteger

Point in time (Unix timestamp) when the message was originally sent.

Returns:

  • (Integer)

    the current value of date



11
12
13
# File 'lib/tdlib/types/message_forward_info.rb', line 11

def date
  @date
end

#originTD::Types::MessageOrigin

Origin of the forwarded message.

Returns:



11
12
13
# File 'lib/tdlib/types/message_forward_info.rb', line 11

def origin
  @origin
end

#public_service_announcement_typeTD::Types::String

The type of public service announcement for the forwarded message.

Returns:

  • (TD::Types::String)

    the current value of public_service_announcement_type



11
12
13
# File 'lib/tdlib/types/message_forward_info.rb', line 11

def public_service_announcement_type
  @public_service_announcement_type
end

#sourceTD::Types::ForwardSource?

For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel’s discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.

Returns:



11
12
13
# File 'lib/tdlib/types/message_forward_info.rb', line 11

def source
  @source
end