Interface CommonSpeechOptions

Hierarchy

  • CommonSpeechOptions

Properties

group?: string
ignoreBots?: boolean

Defaults to true

minimalVoiceMessageDuration?: number

Minimal length of voice message that will be processed

shouldProcessSpeech?: ((user: User) => boolean)

Type declaration

    • (user: User): boolean
    • Custom handler to decide whether to recognize speech

      Returns

      Parameters

      • user: User

        The user who spoke

      Returns boolean

Generated using TypeDoc