class

Tourmaline::TransactionPartnerChat

Inherits JSON::Serializable < Reference < Object

Describes a transaction with a chat.

Constructors

new(type : String, chat : Tourmaline::Chat, gift : Tourmaline::Gift | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

chat

Information about the chat

Source
chat=(chat : Tourmaline::Chat)

Information about the chat

Source
gift

Optional. The gift sent to the chat by the bot

Source
gift=(gift : Tourmaline::Gift | Nil)

Optional. The gift sent to the chat by the bot

Source
type

Type of the transaction partner, always "chat"

Source
type=(type : String)

Type of the transaction partner, always "chat"

Source