Interface SubscriptionEvent

Event is triggered after the subscribe or unsubscribe methods is called.

Index

Properties

messengerAction

messengerAction: MessengerAction

Get action that is the reason this event was triggered

messengerEventType

messengerEventType: "CreateConversation" | "EditConversation" | "RemoveConversation" | "GetConversation" | "SendMessage" | "EditMessage" | "RemoveMessage" | "Typing" | "EditUser" | "GetUser" | "Error" | "RetransmitEvents" | "Read" | "Delivered" | "Subscribe" | "Unsubscribe" | "SetStatus"

Get messenger event type if this messenger event was retransmitted.

userId

userId: string

Get Voximplant user identifier, ex 'username@appname.accname', for the user that initiated the event.

users

users: Array<string>

List of full Voximplant user identifiers (ex 'username@appname.accname') for the subscription.