Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChannelParticipantAdmin

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { canEdit?: boolean; self?: boolean; userId: BigInteger; inviterId?: BigInteger; promotedBy: BigInteger; date: number; adminRights: ChatAdminRights; rank?: string }

Type declaration

  • Optional canEdit?: boolean
  • Optional self?: boolean
  • userId: BigInteger
  • Optional inviterId?: BigInteger
  • promotedBy: BigInteger
  • date: number
  • adminRights: ChatAdminRights
  • Optional rank?: string
CONSTRUCTOR_ID: 885242707
SUBCLASS_OF_ID: 3653762072
classType: "constructor"
className: "ChannelParticipantAdmin"
canEdit?: boolean
self?: boolean
userId: BigInteger
inviterId?: BigInteger
promotedBy: BigInteger
date: number
adminRights: ChatAdminRights
rank?: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { canEdit?: boolean; self?: boolean; userId: BigInteger; inviterId?: BigInteger; promotedBy: BigInteger; date: number; adminRights: ChatAdminRights; rank?: string }
  • Returns { canEdit?: boolean; self?: boolean; userId: BigInteger; inviterId?: BigInteger; promotedBy: BigInteger; date: number; adminRights: ChatAdminRights; rank?: string }

    • Optional canEdit?: boolean
    • Optional self?: boolean
    • userId: BigInteger
    • Optional inviterId?: BigInteger
    • promotedBy: BigInteger
    • date: number
    • adminRights: ChatAdminRights
    • Optional rank?: string

Constructors

  • new ChannelParticipantAdmin(args: { canEdit?: boolean; self?: boolean; userId: BigInteger; inviterId?: BigInteger; promotedBy: BigInteger; date: number; adminRights: ChatAdminRights; rank?: string }): ChannelParticipantAdmin

Generated using TypeDoc