Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatThreadUtilsImpl

Hierarchy

  • ChatThreadUtilsImpl

Implements

  • ChatThreadUtils

Index

Constructors

constructor

  • new ChatThreadUtilsImpl(appConfig: ApplicationConfiguration, logger: Logger): ChatThreadUtilsImpl

Methods

forEachParticipantInEachChatThread

  • forEachParticipantInEachChatThread(consumer: ChatThreadParticipantConsumer): void | Promise<void>

getChatThreadIds

  • getChatThreadIds(): FacebookId[]

getFirstName

  • getFirstName(userId: FacebookId): string

getFirstNameByMessage

  • getFirstNameByMessage(msg: Message): string

getName

  • getName(userId: FacebookId): string

getNameByMessage

  • getNameByMessage(msg: Message): string

getNickname

  • getNickname(threadId: FacebookId, participantId: FacebookId): string | undefined

getNicknameByMessage

  • getNicknameByMessage(msg: Message): string | undefined

getParticipantIdByAddressee

  • getParticipantIdByAddressee(threadId: FacebookId, addressee: string): FacebookId | undefined

Generated using TypeDoc