0.0.8 • Published 2 months ago
@gramio/format v0.0.8
@gramio/format
Library for formatting text for Telegram Bot API
Usage
bot.api.sendMessage({
chat_id: 12321,
text: format`${bold`Hi!`}
Can ${italic("you")} help ${spoiler`me`}?
Can you give me a ${link("star", "https://github.com/gramiojs/gramio")}?`,
});