Variables
Events
Events: { ADDED: "reactionadded"; DELETED: "messagedeleted"; FAILED: "messagefailed"; MESSAGES: "messagehistory"; RECEIVED: "messagereceived"; REMOVED: "reactionremoved"; ROOMENTER: "roomentered"; ROOMEXIT: "roomexited"; SENT: "messagesent"; UPDATED: "messageupdated" } = ...
Type declaration
ADDED: "reactionadded"
DELETED: "messagedeleted"
FAILED: "messagefailed"
MESSAGES: "messagehistory"
RECEIVED: "messagereceived"
REMOVED: "reactionremoved"
ROOMENTER: "roomentered"
ROOMEXIT: "roomexited"
SENT: "messagesent"
UPDATED: "messageupdated"
FOLLOW_UP_WIDGET_UPDATED_EVENT
InteractableWidgetKind
Interactable
Widget
Kind
: readonly [TEXT_ASK, EMOJI_SLIDER, CHEER_METER, TEXT_POLL, IMAGE_POLL, TEXT_QUIZ, IMAGE_QUIZ, TEXT_PREDICTION, IMAGE_PREDICTION, TEXT_NUMBER_PREDICTION, IMAGE_NUMBER_PREDICTION] = ...MULTI_INTERACTION_WIDGET_KINDS
MULTI_
INTERACTION_
WIDGET_
KINDS
: WidgetKind[] = ...MessageEvents
MessageEvents: { added: "reactionadded"; chatroom-updated: "chatroom-updated"; custom-message-created: "messagereceived"; image-created: "messagereceived"; image-deleted: "messagedeleted"; message-created: "messagereceived"; message-deleted: "messagedeleted"; message-sent: "messagesent"; message-updated: "messageupdated"; removed: "reactionremoved" } = ...
Type declaration
added: "reactionadded"
chatroom-updated: "chatroom-updated"
custom-message-created: "messagereceived"
image-created: "messagereceived"
image-deleted: "messagedeleted"
message-created: "messagereceived"
message-deleted: "messagedeleted"
message-sent: "messagesent"
message-updated: "messageupdated"
removed: "reactionremoved"
PREDICTION_FOLLOW_UP_TO_PREDICTION_WIDGET_KIND
PREDICTION_
FOLLOW_
UP_
TO_
PREDICTION_
WIDGET_
KIND
: { image-number-prediction-follow-up
: WidgetKind; image-prediction-follow-up
: WidgetKind; text-prediction-follow-up
: WidgetKind } = ...PREDICTION_FOLLOW_UP_WIDGET_KIND
PREDICTION_
FOLLOW_
UP_
WIDGET_
KIND
: WidgetKind[] = ...PREDICTION_WIDGET_ID_PROP
PREDICTION_WIDGET_ID_PROP: { image-number-prediction-follow-up: string; image-prediction-follow-up: string; text-number-prediction-follow-up: string; text-prediction-follow-up: string } = ...
Type declaration
image-number-prediction-follow-up: string
image-prediction-follow-up: string
text-number-prediction-follow-up: string
text-prediction-follow-up: string
SINGLE_INTERACTION_WIDGET_KINDS
SINGLE_
INTERACTION_
WIDGET_
KINDS
: WidgetKind[] = ...UNSUPPORTED_UPDATE_INTERACTION_WIDGET_KINDS
UNSUPPORTED_
UPDATE_
INTERACTION_
WIDGET_
KINDS
: WidgetKind[] = ...WIDGET_RESULTS
WIDGET_RESULTS: { CHEER_METER: "cheer-meter-results"; EMOJI_SLIDER: "emoji-slider-results"; IMAGE_POLL: "image-poll-results"; IMAGE_QUIZ: "image-quiz-results"; TEXT_POLL: "text-poll-results"; TEXT_QUIZ: "text-quiz-results" } = ...
Type declaration
CHEER_METER: "cheer-meter-results"
EMOJI_SLIDER: "emoji-slider-results"
IMAGE_POLL: "image-poll-results"
IMAGE_QUIZ: "image-quiz-results"
TEXT_POLL: "text-poll-results"
TEXT_QUIZ: "text-quiz-results"
WidgetResults
WidgetResults: ("emoji-slider-results" | "cheer-meter-results" | "text-poll-results" | "image-poll-results" | "text-quiz-results" | "image-quiz-results")[] = ...
_config
_config: { apiDocVersion: string; ready: boolean; version: string } = ...
Type declaration
apiDocVersion: string
ready: boolean
version: string
interactiveWidgets
interactive
Widgets
: readonly [CHEER_METER, EMOJI_SLIDER, TEXT_POLL, IMAGE_POLL, TEXT_QUIZ, IMAGE_QUIZ, TEXT_PREDICTION, TEXT_PREDICTION_FOLLOW_UP, IMAGE_PREDICTION, IMAGE_PREDICTION_FOLLOW_UP, TEXT_ASK, TEXT_NUMBER_PREDICTION, TEXT_NUMBER_PREDICTION_FOLLOW_UP, IMAGE_NUMBER_PREDICTION, IMAGE_NUMBER_PREDICTION_FOLLOW_UP] = ...subscriptionCoordinator
Type declaration
initialisePubnub: (pnConfig: IPubnubConfig) => void
unsubscribe: (channel: any) => void
widgetKindVote
widgetKindVote: { cheer-meter: string; emoji-slider: string; image-number-prediction: string; image-poll: string; image-prediction: string; image-quiz: string; text-ask: string; text-number-prediction: string; text-poll: string; text-prediction: string; text-quiz: string } = ...
Type declaration
cheer-meter: string
emoji-slider: string
image-number-prediction: string
image-poll: string
image-prediction: string
image-quiz: string
text-ask: string
text-number-prediction: string
text-poll: string
text-prediction: string
text-quiz: string
Use SINGLE_INTERACTION_WIDGET_KINDS const instead