Skip to main content

Interface: ChatStatusResponse

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / ChatStatusResponse

Interface: ChatStatusResponse

Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:190

Chat status response from GET /live/:tokenName/chat/status

Since​

5.1.0 - Added reason field based on backend review

Since​

5.4.0 - Added status field for detailed feature status

Properties​

enabled​

enabled: boolean

Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:192

Whether chat is enabled (computed from status)


reason?​

optional reason?: ChatDisabledReason

Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:207

Reason why chat is disabled (only present when enabled=false)

  • 'global': Chat is disabled globally for all tokens
  • 'token': Chat is disabled specifically for this token

slowModeSeconds?​

optional slowModeSeconds?: number

Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:214

Slow-mode interval in seconds (0 when off), from GET /live/:tokenName/chat

Since​

9.0.0


status?​

optional status?: FeatureStatusType

Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:200

Detailed feature status (v5.4.0+)

  • 'ENABLED': Chat is on
  • 'DISABLED': Owner disabled (owner can re-enable)
  • 'ADMIN_DISABLED': Admin disabled (owner locked out)

tokenName?​

optional tokenName?: string

Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:209

Token name (lowercased); answered by the SDK's chat status methods