Class: TD::Types::Update::NewBusinessMessage

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

Overview

A new message was added to a business account; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#connection_idTD::Types::String

Unique identifier of the business connection.

Returns:

  • (TD::Types::String)

    the current value of connection_id



6
7
8
# File 'lib/tdlib/types/update/new_business_message.rb', line 6

def connection_id
  @connection_id
end

#messageTD::Types::BusinessMessage

The new message.

Returns:



6
7
8
# File 'lib/tdlib/types/update/new_business_message.rb', line 6

def message
  @message
end