create

fun create(siteId: String, storeCode: String, contact: Contact): ChatChannel.Site

Creates a Site channel from site identifiers and contact information. Initializes the channel with empty preview/timestamp and sets unseen messages to false.

Return

A new Site channel instance, ready to be used or updated with message data.

Parameters

siteId

The unique identifier for the site.

storeCode

The store code associated with the site.

contact

The contact information to use for initial channel details (title, subtitle).