Options
All
  • Public
  • Public/Protected
  • All
Menu

TwitterAssetsManager stores ids of assets created at Twitter platform.

Hierarchy

  • TwitterAssetsManager

Index

Constructors

Properties

_stateController: BaseStateController
appId: string

Methods

  • createCustomProfile(tag: string, name: string, mediaId: string): Promise<string>
  • deleteCustomProfile(tag: string): Promise<string>
  • deleteWebhook(tag: string, envName: string): Promise<string>
  • deleteWelcomeMessage(tag: string): Promise<string>
  • getAllAssets(resource: string): Promise<null | Map<string, string>>
  • getAllCustomProfiles(): Promise<null | Map<string, string>>
  • getAllMedia(): Promise<null | Map<string, string>>
  • getAllWebhooks(): Promise<null | Map<string, string>>
  • getAllWelcomeMessages(): Promise<null | Map<string, string>>
  • getAssetId(resource: string, tag: string): Promise<undefined | string>
  • getCustomProfile(tag: string): Promise<undefined | string>
  • getMedia(tag: string): Promise<undefined | string>
  • getWebhook(tag: string): Promise<undefined | string>
  • getWelcomeMessage(tag: string): Promise<undefined | string>
  • renderWelcomeMessage(tag: string, message: SociablyNode): Promise<undefined | string>
  • saveAssetId(resource: string, tag: string, id: string): Promise<boolean>
  • saveCustomProfile(tag: string, id: string): Promise<boolean>
  • saveMedia(tag: string, id: string): Promise<boolean>
  • saveWebhook(tag: string, id: string): Promise<boolean>
  • saveWelcomeMessage(tag: string, id: string): Promise<boolean>
  • setUpWebhook(tag: string, envName: string, url: string): Promise<string>
  • unsaveAssetId(resource: string, tag: string): Promise<boolean>
  • unsaveCustomProfile(tag: string): Promise<boolean>
  • unsaveMedia(tag: string): Promise<boolean>
  • unsaveWebhook(tag: string): Promise<boolean>
  • unsaveWelcomeMessage(tag: string): Promise<boolean>

Generated using TypeDoc