Class: TD::Types::StarTransactionPartner::Bot

Inherits:
TD::Types::StarTransactionPartner show all
Defined in:
lib/tdlib/types/star_transaction_partner/bot.rb

Overview

The transaction is a transaction with a bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#purposeTD::Types::BotTransactionPurpose

Purpose of the transaction.



6
7
8
# File 'lib/tdlib/types/star_transaction_partner/bot.rb', line 6

def purpose
  @purpose
end

#user_idInteger

Identifier of the bot.



6
7
8
# File 'lib/tdlib/types/star_transaction_partner/bot.rb', line 6

def user_id
  @user_id
end