export type messagechannel_MessageChannel = { /** * ClientID is the id of the client associated with an individual channel. */ clientId?: string; /** * CompanyID is the id of the company associated with the channel. */ companyId?: string; /** * CreatedAt is the time the channel was created. */ createdAt: string; /** * ID is the unique identifier of the message channel. */ id: string; /** * LastMessage is the time the most recent message was sent in the channel. */ lastMessageDate?: string; /** * LastRead is the time the viewer last read the channel. Populated alongside UnreadCount; omitted otherwise. */ lastRead?: string; /** * MemberIds are the user ids that belong to the channel. */ memberIds: Array; /** * MembershipEntityId is the id of the entity (company or client) the channel is scoped to. */ membershipEntityId?: string; /** * MembershipType describes whether the channel is scoped to a company, a single client, or an ad-hoc group. */ membershipType: messagechannel_MessageChannel.membershipType; /** * Object is the resource type discriminator, always "messageChannel". */ object: string; /** * UnreadCount is the number of unread messages for the viewer. Populated by the /unread * endpoint and by the list endpoint when includeUnread=true; omitted otherwise. */ unreadCount?: number; /** * UpdatedAt is the time the channel was last updated. */ updatedAt: string; }; export declare namespace messagechannel_MessageChannel { /** * MembershipType describes whether the channel is scoped to a company, a single client, or an ad-hoc group. */ enum membershipType { COMPANY = "company", INDIVIDUAL = "individual", GROUP = "group" } }