Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Private defaultConfig

defaultConfig: { accountId: string; appName: string; host: string; password: string; type: string } = ...

Type declaration

  • accountId: string
  • appName: string
  • host: string
  • password: string
  • type: string

Protected log

log: Logger = ...

telegramChatParserMap

telegramChatParserMap: any = {}

telegramChats

telegramChats: number[] = []

Protected telegramClient

telegramClient: null | TelegramClient = null

testing

testing: any = {}

Protected timestamp

timestamp: number

Protected xapi

xapi: XAPI

Accessors

isConnected

  • get isConnected(): Boolean

isTestMode

  • get isTestMode(): Boolean

Methods

connect_telegram

  • connect_telegram(): Promise<void>

connect_xapi

  • connect_xapi(readyCallback?: () => void): void

disconnect

  • disconnect(): Promise<void>

getVersion

  • getVersion(): Promise<string>

main

  • main(): void

Private printConnectionStatus

  • printConnectionStatus(status?: string | number): void

printStatus

  • printStatus(): Promise<void>

Generated using TypeDoc