Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { viaGiveaway?: boolean; fromId?: TypePeer; giveawayMsgId?: number; toId?: BigInteger; date: number; months: number; usedDate?: number; chats: TypeChat[]; users: TypeUser[] }

Type declaration

  • Optional viaGiveaway?: boolean
  • Optional fromId?: TypePeer
  • Optional giveawayMsgId?: number
  • Optional toId?: BigInteger
  • date: number
  • months: number
  • Optional usedDate?: number
  • chats: TypeChat[]
  • users: TypeUser[]
CONSTRUCTOR_ID: 675942550
SUBCLASS_OF_ID: 1529452520
classType: "constructor"
className: "payments.CheckedGiftCode"
viaGiveaway?: boolean
fromId?: TypePeer
giveawayMsgId?: number
toId?: BigInteger
date: number
months: number
usedDate?: number
chats: TypeChat[]
users: TypeUser[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { viaGiveaway?: boolean; fromId?: TypePeer; giveawayMsgId?: number; toId?: BigInteger; date: number; months: number; usedDate?: number; chats: TypeChat[]; users: TypeUser[] }
  • Returns { viaGiveaway?: boolean; fromId?: TypePeer; giveawayMsgId?: number; toId?: BigInteger; date: number; months: number; usedDate?: number; chats: TypeChat[]; users: TypeUser[] }

    • Optional viaGiveaway?: boolean
    • Optional fromId?: TypePeer
    • Optional giveawayMsgId?: number
    • Optional toId?: BigInteger
    • date: number
    • months: number
    • Optional usedDate?: number
    • chats: TypeChat[]
    • users: TypeUser[]

Constructors

  • new CheckedGiftCode(args: { viaGiveaway?: boolean; fromId?: TypePeer; giveawayMsgId?: number; toId?: BigInteger; date: number; months: number; usedDate?: number; chats: TypeChat[]; users: TypeUser[] }): CheckedGiftCode

Generated using TypeDoc