class Hamilton::Types::TransactionPartnerChat

Overview

Describes a transaction with a chat.

Included Modules

Defined in:

types/transaction_partner.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

Information about the chat.


def chat=(chat : Hamilton::Types::Chat) #

Information about the chat.


def gift : Hamilton::Types::Gift | Nil #

The gift sent to the chat by the bot.


def gift=(gift : Hamilton::Types::Gift | Nil) #

The gift sent to the chat by the bot.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def type : String #

Type of the transaction partner, always “chat”.


def type=(type : String) #

Type of the transaction partner, always “chat”.