Options
All
  • Public
  • Public/Protected
  • All
Menu

TelegramAssetsManager stores name-to-id mapping for assets created in Telegram platform.

Hierarchy

  • TelegramAssetsManager

Index

Constructors

Properties

_stateController: BaseStateController
botId: number

Methods

  • getAllAssets(resource: string): Promise<null | Map<string, string>>
  • getAllFiles(): Promise<null | Map<string, string>>
  • getAssetId(resource: string, name: string): Promise<undefined | string>
  • getFile(name: string): Promise<undefined | string>
  • saveAssetId(resource: string, name: string, id: string): Promise<boolean>
  • saveFile(name: string, id: string): Promise<boolean>
  • unsaveAssetId(resource: string, name: string): Promise<boolean>
  • unsaveFile(name: string): Promise<boolean>

Generated using TypeDoc