Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatAdminRights

Hierarchy

  • VirtualClass<{ changeInfo?: boolean; postMessages?: boolean; editMessages?: boolean; deleteMessages?: boolean; banUsers?: boolean; inviteUsers?: boolean; pinMessages?: boolean; addAdmins?: boolean; anonymous?: boolean; manageCall?: boolean; other?: boolean; manageTopics?: boolean; postStories?: boolean; editStories?: boolean; deleteStories?: boolean }>
    • ChatAdminRights

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { changeInfo?: boolean; postMessages?: boolean; editMessages?: boolean; deleteMessages?: boolean; banUsers?: boolean; inviteUsers?: boolean; pinMessages?: boolean; addAdmins?: boolean; anonymous?: boolean; manageCall?: boolean; other?: boolean; manageTopics?: boolean; postStories?: boolean; editStories?: boolean; deleteStories?: boolean }

Type declaration

  • Optional changeInfo?: boolean
  • Optional postMessages?: boolean
  • Optional editMessages?: boolean
  • Optional deleteMessages?: boolean
  • Optional banUsers?: boolean
  • Optional inviteUsers?: boolean
  • Optional pinMessages?: boolean
  • Optional addAdmins?: boolean
  • Optional anonymous?: boolean
  • Optional manageCall?: boolean
  • Optional other?: boolean
  • Optional manageTopics?: boolean
  • Optional postStories?: boolean
  • Optional editStories?: boolean
  • Optional deleteStories?: boolean
CONSTRUCTOR_ID: 1605510357
SUBCLASS_OF_ID: 2252195780
classType: "constructor"
className: "ChatAdminRights"
changeInfo?: boolean
postMessages?: boolean
editMessages?: boolean
deleteMessages?: boolean
banUsers?: boolean
inviteUsers?: boolean
pinMessages?: boolean
addAdmins?: boolean
anonymous?: boolean
manageCall?: boolean
other?: boolean
manageTopics?: boolean
postStories?: boolean
editStories?: boolean
deleteStories?: boolean

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { changeInfo?: boolean; postMessages?: boolean; editMessages?: boolean; deleteMessages?: boolean; banUsers?: boolean; inviteUsers?: boolean; pinMessages?: boolean; addAdmins?: boolean; anonymous?: boolean; manageCall?: boolean; other?: boolean; manageTopics?: boolean; postStories?: boolean; editStories?: boolean; deleteStories?: boolean }
  • Returns { changeInfo?: boolean; postMessages?: boolean; editMessages?: boolean; deleteMessages?: boolean; banUsers?: boolean; inviteUsers?: boolean; pinMessages?: boolean; addAdmins?: boolean; anonymous?: boolean; manageCall?: boolean; other?: boolean; manageTopics?: boolean; postStories?: boolean; editStories?: boolean; deleteStories?: boolean }

    • Optional changeInfo?: boolean
    • Optional postMessages?: boolean
    • Optional editMessages?: boolean
    • Optional deleteMessages?: boolean
    • Optional banUsers?: boolean
    • Optional inviteUsers?: boolean
    • Optional pinMessages?: boolean
    • Optional addAdmins?: boolean
    • Optional anonymous?: boolean
    • Optional manageCall?: boolean
    • Optional other?: boolean
    • Optional manageTopics?: boolean
    • Optional postStories?: boolean
    • Optional editStories?: boolean
    • Optional deleteStories?: boolean

Constructors

  • new ChatAdminRights(args: { changeInfo?: boolean; postMessages?: boolean; editMessages?: boolean; deleteMessages?: boolean; banUsers?: boolean; inviteUsers?: boolean; pinMessages?: boolean; addAdmins?: boolean; anonymous?: boolean; manageCall?: boolean; other?: boolean; manageTopics?: boolean; postStories?: boolean; editStories?: boolean; deleteStories?: boolean }): ChatAdminRights
  • Parameters

    • args: { changeInfo?: boolean; postMessages?: boolean; editMessages?: boolean; deleteMessages?: boolean; banUsers?: boolean; inviteUsers?: boolean; pinMessages?: boolean; addAdmins?: boolean; anonymous?: boolean; manageCall?: boolean; other?: boolean; manageTopics?: boolean; postStories?: boolean; editStories?: boolean; deleteStories?: boolean }
      • Optional changeInfo?: boolean
      • Optional postMessages?: boolean
      • Optional editMessages?: boolean
      • Optional deleteMessages?: boolean
      • Optional banUsers?: boolean
      • Optional inviteUsers?: boolean
      • Optional pinMessages?: boolean
      • Optional addAdmins?: boolean
      • Optional anonymous?: boolean
      • Optional manageCall?: boolean
      • Optional other?: boolean
      • Optional manageTopics?: boolean
      • Optional postStories?: boolean
      • Optional editStories?: boolean
      • Optional deleteStories?: boolean

    Returns ChatAdminRights

Generated using TypeDoc