Channel
Channels represent chat channels synced from connected providers (Slack, Microsoft Teams, LinkedIn) in Lightfield. Read responses are visibility-aware: callers only see channels they have access to.
Retrieve a channel
client.channel.retrieve(stringid, RequestOptionsoptions?): ChannelRetrieveResponse { id, createdAt, fields, 5 more }
GET/v1/channels/{id}
List channels
client.channel.list(ChannelListParams { limit, offset } query?, RequestOptionsoptions?): ChannelListResponse { data, object, totalCount }
GET/v1/channels
ModelsExpand Collapse
ChannelListResponse { data, object, totalCount }
ChannelListResponse { data, object, totalCount }
data: Array<Data>Array of channel objects for the current page.
data: Array<Data>
Array of channel objects for the current page.
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
ChannelRetrieveResponse { id, createdAt, fields, 5 more }
ChannelRetrieveResponse { id, createdAt, fields, 5 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.