Raw.MessageActionPrizeStars

Raw.MessageActionPrizeStars

You won some telegram stars in a telegram star giveaway.

messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
export namespace Raw {
  export class MessageActionPrizeStars {
    constructor(params: {
      unclaimed?: boolean;
      stars: bigint;
      transactionId: string;
      boostPeer: Raw.TypePeer;
      giveawayMsgId: number;
    }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0xb00c47a2

Property

  • unclaimed : boolean or undefined

    If set, this indicates the reverse transaction that refunds the remaining stars to the creator of a giveaway if, when the giveaway ends, the number of members in the channel is smaller than the number of winners in the giveaway.

  • stars : bigint

    The number of telegram stars you won

  • transactionId : string

    Id of the telegram star transaction.

  • boostPeer : Raw.TypePeer

    Identifier of the peer that was automatically boosted by the winners of the giveaway.

  • giveawayMsgId : number

    Id of the message containing the messagemediagiveaway