Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatBannedRights

Hierarchy

  • VirtualClass<{ viewMessages?: boolean; sendMessages?: boolean; sendMedia?: boolean; sendStickers?: boolean; sendGifs?: boolean; sendGames?: boolean; sendInline?: boolean; embedLinks?: boolean; sendPolls?: boolean; changeInfo?: boolean; inviteUsers?: boolean; pinMessages?: boolean; manageTopics?: boolean; sendPhotos?: boolean; sendVideos?: boolean; sendRoundvideos?: boolean; sendAudios?: boolean; sendVoices?: boolean; sendDocs?: boolean; sendPlain?: boolean; untilDate: int }>
    • ChatBannedRights

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { viewMessages?: boolean; sendMessages?: boolean; sendMedia?: boolean; sendStickers?: boolean; sendGifs?: boolean; sendGames?: boolean; sendInline?: boolean; embedLinks?: boolean; sendPolls?: boolean; changeInfo?: boolean; inviteUsers?: boolean; pinMessages?: boolean; manageTopics?: boolean; sendPhotos?: boolean; sendVideos?: boolean; sendRoundvideos?: boolean; sendAudios?: boolean; sendVoices?: boolean; sendDocs?: boolean; sendPlain?: boolean; untilDate: number }

Type declaration

  • Optional viewMessages?: boolean
  • Optional sendMessages?: boolean
  • Optional sendMedia?: boolean
  • Optional sendStickers?: boolean
  • Optional sendGifs?: boolean
  • Optional sendGames?: boolean
  • Optional sendInline?: boolean
  • Optional embedLinks?: boolean
  • Optional sendPolls?: boolean
  • Optional changeInfo?: boolean
  • Optional inviteUsers?: boolean
  • Optional pinMessages?: boolean
  • Optional manageTopics?: boolean
  • Optional sendPhotos?: boolean
  • Optional sendVideos?: boolean
  • Optional sendRoundvideos?: boolean
  • Optional sendAudios?: boolean
  • Optional sendVoices?: boolean
  • Optional sendDocs?: boolean
  • Optional sendPlain?: boolean
  • untilDate: number
CONSTRUCTOR_ID: 2668758040
SUBCLASS_OF_ID: 1263814057
classType: "constructor"
className: "ChatBannedRights"
viewMessages?: boolean
sendMessages?: boolean
sendMedia?: boolean
sendStickers?: boolean
sendGifs?: boolean
sendGames?: boolean
sendInline?: boolean
embedLinks?: boolean
sendPolls?: boolean
changeInfo?: boolean
inviteUsers?: boolean
pinMessages?: boolean
manageTopics?: boolean
sendPhotos?: boolean
sendVideos?: boolean
sendRoundvideos?: boolean
sendAudios?: boolean
sendVoices?: boolean
sendDocs?: boolean
sendPlain?: boolean
untilDate: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { viewMessages?: boolean; sendMessages?: boolean; sendMedia?: boolean; sendStickers?: boolean; sendGifs?: boolean; sendGames?: boolean; sendInline?: boolean; embedLinks?: boolean; sendPolls?: boolean; changeInfo?: boolean; inviteUsers?: boolean; pinMessages?: boolean; manageTopics?: boolean; sendPhotos?: boolean; sendVideos?: boolean; sendRoundvideos?: boolean; sendAudios?: boolean; sendVoices?: boolean; sendDocs?: boolean; sendPlain?: boolean; untilDate: number }
  • Returns { viewMessages?: boolean; sendMessages?: boolean; sendMedia?: boolean; sendStickers?: boolean; sendGifs?: boolean; sendGames?: boolean; sendInline?: boolean; embedLinks?: boolean; sendPolls?: boolean; changeInfo?: boolean; inviteUsers?: boolean; pinMessages?: boolean; manageTopics?: boolean; sendPhotos?: boolean; sendVideos?: boolean; sendRoundvideos?: boolean; sendAudios?: boolean; sendVoices?: boolean; sendDocs?: boolean; sendPlain?: boolean; untilDate: number }

    • Optional viewMessages?: boolean
    • Optional sendMessages?: boolean
    • Optional sendMedia?: boolean
    • Optional sendStickers?: boolean
    • Optional sendGifs?: boolean
    • Optional sendGames?: boolean
    • Optional sendInline?: boolean
    • Optional embedLinks?: boolean
    • Optional sendPolls?: boolean
    • Optional changeInfo?: boolean
    • Optional inviteUsers?: boolean
    • Optional pinMessages?: boolean
    • Optional manageTopics?: boolean
    • Optional sendPhotos?: boolean
    • Optional sendVideos?: boolean
    • Optional sendRoundvideos?: boolean
    • Optional sendAudios?: boolean
    • Optional sendVoices?: boolean
    • Optional sendDocs?: boolean
    • Optional sendPlain?: boolean
    • untilDate: number

Constructors

  • new ChatBannedRights(args: { viewMessages?: boolean; sendMessages?: boolean; sendMedia?: boolean; sendStickers?: boolean; sendGifs?: boolean; sendGames?: boolean; sendInline?: boolean; embedLinks?: boolean; sendPolls?: boolean; changeInfo?: boolean; inviteUsers?: boolean; pinMessages?: boolean; manageTopics?: boolean; sendPhotos?: boolean; sendVideos?: boolean; sendRoundvideos?: boolean; sendAudios?: boolean; sendVoices?: boolean; sendDocs?: boolean; sendPlain?: boolean; untilDate: number }): ChatBannedRights
  • Parameters

    • args: { viewMessages?: boolean; sendMessages?: boolean; sendMedia?: boolean; sendStickers?: boolean; sendGifs?: boolean; sendGames?: boolean; sendInline?: boolean; embedLinks?: boolean; sendPolls?: boolean; changeInfo?: boolean; inviteUsers?: boolean; pinMessages?: boolean; manageTopics?: boolean; sendPhotos?: boolean; sendVideos?: boolean; sendRoundvideos?: boolean; sendAudios?: boolean; sendVoices?: boolean; sendDocs?: boolean; sendPlain?: boolean; untilDate: number }
      • Optional viewMessages?: boolean
      • Optional sendMessages?: boolean
      • Optional sendMedia?: boolean
      • Optional sendStickers?: boolean
      • Optional sendGifs?: boolean
      • Optional sendGames?: boolean
      • Optional sendInline?: boolean
      • Optional embedLinks?: boolean
      • Optional sendPolls?: boolean
      • Optional changeInfo?: boolean
      • Optional inviteUsers?: boolean
      • Optional pinMessages?: boolean
      • Optional manageTopics?: boolean
      • Optional sendPhotos?: boolean
      • Optional sendVideos?: boolean
      • Optional sendRoundvideos?: boolean
      • Optional sendAudios?: boolean
      • Optional sendVoices?: boolean
      • Optional sendDocs?: boolean
      • Optional sendPlain?: boolean
      • untilDate: number

    Returns ChatBannedRights

Generated using TypeDoc