Available types

MessageOriginChannel

The message was originally sent to a channel chat.

fields

fieldtyperequireddescription
typestringrequiredType of the message origin, always “channel”
datenumberrequiredDate the message was sent originally in Unix time
chatChatrequiredChannel chat to which the message was originally sent
message_idnumberrequiredUnique message identifier inside the chat
author_signaturestringoptionalOptional. Signature of the original post author

import

types.ts
import type { MessageOriginChannel } from "@yaebal/types";

used by

types