struct

Telegram::StarAmount

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: StarAmount Describes an amount of Telegram Stars.

Constructors

new(amount : Int64, nanostar_amount : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

amount
clone
Source
copy_with(amount _amount = @amount, nanostar_amount _nanostar_amount = @nanostar_amount)
Source
nanostar_amount