Mattermost, Inc.

Is there anyway to add custom field in the websocket events

Hi,
I need to update my UI when the message send using the websocket event ,the posted event called when we performed the Post API call from mobile and web so I need to differentiate if the api is called from web or mobile