Options
All
  • Public
  • Public/Protected
  • All
Menu

Botyo API Documentation

Index

Type aliases

ChatThreadParticipantConsumer

ChatThreadParticipantConsumer: function

Type declaration

ConfigurationChatThreadObject

ConfigurationChatThreadObject: object

Type declaration

ConfigurationChatThreadsObject

ConfigurationChatThreadsObject: object

Type declaration

ConfigurationParticipantObject

ConfigurationParticipantObject: object

Type declaration

  • [index: string]: any
  • Optional aliases?: string[]
  • firstName: string
  • id: FacebookId
  • Optional isAdmin?: undefined | true | false
  • name: string
  • Optional nickname?: undefined | string
  • Optional overrides?: undefined | object
  • Optional vanity?: undefined | string

ConfigurationParticipantsObject

ConfigurationParticipantsObject: object

Type declaration

Constructor

Constructor: object

Type declaration

EndTypingIndicatorFunction

EndTypingIndicatorFunction: function

Ends the typing indicator.

callback

EndTypingIndicatorFunction

returns

empty promise

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

FacebookId

FacebookId: string | number

Message

Message: object

Type declaration

  • [index: string]: any
  • attachments: any[]
  • body: string
  • isGroup: boolean
  • isUnread: boolean
  • mentions: any[]
  • messageID: string
  • senderID: string
  • threadID: FacebookId
  • type: string

MessageHandler

MessageHandler: function

Function that gets called upon receiving a message.

callback

MessageHandler

param

the message object

Type declaration

    • Parameters

      Returns void

OutgoingMessage

OutgoingMessage: object

Defines an outgoing message.

Type declaration

  • Optional attachment?: ReadableStream | ReadableStream[] | Readable | Readable[]
  • Optional body?: undefined | string
  • Optional emoji?: undefined | string
  • Optional emojiSize?: "small" | "medium" | "large"
  • Optional mentions?: any[]
  • Optional sticker?: undefined | string
  • Optional url?: undefined | string

ServiceIdentifier

ServiceIdentifier: string | symbol | object | Abstract<T>

StopListeningFunction

StopListeningFunction: function

Function, returned by listen(), that when invoked makes the API stop listening for incoming messages and events

function

Type declaration

    • (): void
    • Returns void

UserInfoResult

UserInfoResult: object

Type declaration

Generated using TypeDoc