import { kinds } from "nostr-tools";
import { blueprint } from "../event-factory.js";
import { includeChannelPointerTag } from "../operations/channel.js";
import { setShortTextContent } from "../operations/content.js";
import { includeNofityTags, setThreadParent } from "../operations/note.js";
/** Creates a NIP-28 channel message */
export function ChannelMessageBlueprint(channel, message, options) {
    return blueprint(kinds.ChannelMessage, includeChannelPointerTag(channel), setShortTextContent(message, options));
}
/** Creates a NIP-28 channel message reply */
export function ChannelMessageReplyBlueprint(parent, message, options) {
    return blueprint(kinds.ChannelMessage, setThreadParent(parent), includeNofityTags(parent), setShortTextContent(message, options));
}
