Raw.payments.CheckedGiftCode

Raw.payments.CheckedGiftCode

Contains info about a telegram premium giftcode link.

payments.checkedGiftCode#284a1096 flags:# via_giveaway:flags.2?true from_id:flags.4?Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector<Chat> users:Vector<User> = payments.CheckedGiftCode;
export namespace Raw {
  export namespace payments {
    export class CheckedGiftCode {
      constructor(params: {
        viaGiveaway?: boolean;
        fromId?: Raw.TypePeer;
        giveawayMsgId?: number;
        toId?: bigint;
        date: number;
        months: number;
        usedDate?: number;
        chats: Array<Raw.TypeChat>;
        users: Array<Raw.TypeUser>;
      }) {}
    }
  }
}
🚫

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

Layer: 185
Constructor ID: 0x284a1096

Property