Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttachMenuBot

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { inactive?: boolean; hasSettings?: boolean; requestWriteAccess?: boolean; showInAttachMenu?: boolean; showInSideMenu?: boolean; sideMenuDisclaimerNeeded?: boolean; botId: BigInteger; shortName: string; peerTypes?: TypeAttachMenuPeerType[]; icons: AttachMenuBotIcon[] }

Type declaration

  • Optional inactive?: boolean
  • Optional hasSettings?: boolean
  • Optional requestWriteAccess?: boolean
  • Optional showInAttachMenu?: boolean
  • Optional showInSideMenu?: boolean
  • Optional sideMenuDisclaimerNeeded?: boolean
  • botId: BigInteger
  • shortName: string
  • Optional peerTypes?: TypeAttachMenuPeerType[]
  • icons: AttachMenuBotIcon[]
CONSTRUCTOR_ID: 3641544190
SUBCLASS_OF_ID: 2668131398
classType: "constructor"
className: "AttachMenuBot"
inactive?: boolean
hasSettings?: boolean
requestWriteAccess?: boolean
showInAttachMenu?: boolean
showInSideMenu?: boolean
sideMenuDisclaimerNeeded?: boolean
botId: BigInteger
shortName: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { inactive?: boolean; hasSettings?: boolean; requestWriteAccess?: boolean; showInAttachMenu?: boolean; showInSideMenu?: boolean; sideMenuDisclaimerNeeded?: boolean; botId: BigInteger; shortName: string; peerTypes?: TypeAttachMenuPeerType[]; icons: AttachMenuBotIcon[] }
  • Returns { inactive?: boolean; hasSettings?: boolean; requestWriteAccess?: boolean; showInAttachMenu?: boolean; showInSideMenu?: boolean; sideMenuDisclaimerNeeded?: boolean; botId: BigInteger; shortName: string; peerTypes?: TypeAttachMenuPeerType[]; icons: AttachMenuBotIcon[] }

    • Optional inactive?: boolean
    • Optional hasSettings?: boolean
    • Optional requestWriteAccess?: boolean
    • Optional showInAttachMenu?: boolean
    • Optional showInSideMenu?: boolean
    • Optional sideMenuDisclaimerNeeded?: boolean
    • botId: BigInteger
    • shortName: string
    • Optional peerTypes?: TypeAttachMenuPeerType[]
    • icons: AttachMenuBotIcon[]

Constructors

  • new AttachMenuBot(args: { inactive?: boolean; hasSettings?: boolean; requestWriteAccess?: boolean; showInAttachMenu?: boolean; showInSideMenu?: boolean; sideMenuDisclaimerNeeded?: boolean; botId: BigInteger; shortName: string; peerTypes?: TypeAttachMenuPeerType[]; icons: AttachMenuBotIcon[] }): AttachMenuBot
  • Parameters

    • args: { inactive?: boolean; hasSettings?: boolean; requestWriteAccess?: boolean; showInAttachMenu?: boolean; showInSideMenu?: boolean; sideMenuDisclaimerNeeded?: boolean; botId: BigInteger; shortName: string; peerTypes?: TypeAttachMenuPeerType[]; icons: AttachMenuBotIcon[] }
      • Optional inactive?: boolean
      • Optional hasSettings?: boolean
      • Optional requestWriteAccess?: boolean
      • Optional showInAttachMenu?: boolean
      • Optional showInSideMenu?: boolean
      • Optional sideMenuDisclaimerNeeded?: boolean
      • botId: BigInteger
      • shortName: string
      • Optional peerTypes?: TypeAttachMenuPeerType[]
      • icons: AttachMenuBotIcon[]

    Returns AttachMenuBot

Generated using TypeDoc