struct

Telegram::SuggestedPostPaid

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: SuggestedPostPaid Describes a service message about a successful payment for a suggested post.

Constructors

new(currency : String, suggested_post_message : Message | Nil = nil, amount : Int64 | Nil = nil, star_amount : StarAmount | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

amount
clone
Source
copy_with(currency _currency = @currency, suggested_post_message _suggested_post_message = @suggested_post_message, amount _amount = @amount, star_amount _star_amount = @star_amount)
Source
currency
star_amount
suggested_post_message