Skip to main content

Type Alias: ChannelMessageSource

ChannelMessageSource = typeof ChannelMessageSource[keyof typeof ChannelMessageSource]

Defined in: packages/sdk/src/types/generated/channel_message.ts:47

Where a ghost message came from.

The two are not cosmetic variants: sms_record has no chat behind it at all (a one-off automated send, PersistencePolicy.SMS_ONLY) and so can never be linked to, while other_chat is a real chat the caller has been authorized to read and can navigate to via sourceChatId.