Raw.StarsAmount

Raw.StarsAmount

Describes a real (i.e. possibly decimal) amount of telegram stars.

starsAmount#bbb6b4a3 amount:long nanos:int = StarsAmount;
export namespace Raw {
  export class StarsAmount {
    constructor(params: { amount: bigint; nanos: number }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 198
Constructor ID: 0xbbb6b4a3

Property

  • amount : bigint

    The integer amount of telegram stars.

  • nanos : number

    The decimal amount of telegram stars, expressed as nanostars (i.e. 1 nanostar is equal to 1/1’000’000’000th of a telegram star). this field may also be negative (the allowed range is -999999999 to 999999999).