Getting Started

Google Cloud Pub/Sub allows external parties to subscribe to our SDK events. By providing Upstra with Google Service Account credentials, we can configure our SDK to pass an event's payload to an external source.

Google Cloud Service

Our PubSub requires a Google Cloud Service Account, the user can begin receiving events by sending their key.json credential file to Upstra along with the Topic Name that they wish for the event payloads to go to.

Events

Our PubSub currently supports sending payloads for the following events:

Event name

Description

message.didCreate

Any time a user in your network creates a message

message.didDelete

Any time a message is deleted

message.didUpdate

Any time a message is updated

channel.didCreate

Any time a channel is created

channel.didJoin

Any time a user joins a channel

channel.didAddUsers

Any time a user adds other users to a channel

channel.didClose

Any time a channel is closed

channel.didLeave

Any time a user leaves a channel

channel.didUpdate

Any time a channel is updated

channel.didRemoveUsers

Any time a user is removed from a channel

channel.didUpdateMeta

Any time a channel's metadata is updated

channel.didBan

Any time a user is banned from a channel

moderation.didBan

Any time message that contains a blocklisted word is blocked