Skip to main content
Quick Reference for AI Agents & Developers
  • Create interactive: InteractiveMessage() — set receiverUid, receiverType, type, interactiveData
  • Send interactive: CometChat.sendInteractiveMessage(message:onSuccess:onError:)
  • Types: Form, Card, Scheduler, Custom Interactive
  • Interaction goal: Set interactionGoal to define completion criteria
  • Related: Send Message · Messaging Overview

InteractiveMessage Properties


Interaction Goal Types


Form Element Types


Button Action Types


Send Form Interactive Message

Method: CometChat.sendInteractiveMessage(message:)Message Parameters:Interaction Goal:

Send Card Interactive Message

Message Parameters:

Send Scheduler Interactive Message

Message Parameters:Scheduler Data:

Send Form to Group

Message Parameters:

Interaction Object Properties


InteractionGoal Object Properties


Real-time Interactive Message Events

To receive interactive message events, implement CometChatMessageDelegate:
Method: onInteractiveMessageReceived(_ message: InteractiveMessage)