Options
All
  • Public
  • Public/Protected
  • All
Menu

MessengerAssetsManager stores name-to-id mapping for assets created in Messenger platform.

Hierarchy

  • MessengerAssetsManager

Index

Constructors

Properties

_stateController: BaseStateController
pageId: string

Methods

  • createPersona(name: string, body: any): Promise<string>
  • deletePersona(name: string): Promise<boolean>
  • getAllAssets(resource: string): Promise<null | Map<string, string>>
  • getAllAttachments(): Promise<null | Map<string, string>>
  • getAllPersonas(): Promise<null | Map<string, string>>
  • getAssetId(resource: string, name: string): Promise<undefined | string>
  • getAttachment(name: string): Promise<undefined | string>
  • getPersona(name: string): Promise<undefined | string>
  • renderAttachment(name: string, node: SociablyNode): Promise<string>
  • saveAssetId(resource: string, name: string, id: string): Promise<boolean>
  • saveAttachment(name: string, id: string): Promise<boolean>
  • savePersona(name: string, id: string): Promise<boolean>
  • unsaveAssetId(resource: string, name: string): Promise<boolean>
  • unsaveAttachment(name: string): Promise<boolean>
  • unsavePersona(name: string): Promise<boolean>

Generated using TypeDoc