Class: TD::Types::BusinessMessage

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

Overview

Describes a message from a business account as received by a bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messageTD::Types::Message

The message.

Returns:



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

def message
  @message
end

#reply_to_messageTD::Types::Message?

Message that is replied by the message in the same chat; may be null if none.

Returns:



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

def reply_to_message
  @reply_to_message
end