This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* テキスト投稿イベント(リプライ)を組み立てる | |
* @param {string} content 投稿内容 | |
* @param {import("nostr-tools").Event} targetEvent リプライ対象のイベント | |
*/ | |
const composeReplyPost = (content, targetEvent) => { | |
/* Q-1: これまで学んだことを思い出しながら、 | |
リプライを表現するイベントを組み立てよう */ |