An event handler invoked when a follow request the bot sent is accepted.
An event handler for a follow request to the bot.
A repository for storing bot data using a key-value store.
An event handler for a like of a message.
A repository for storing bot data in memory. This repository is not persistent and is only suitable for testing or development.
An event handler for a message mentioned to the bot.
An event handler for a message shown to the bot's timeline. To listen to this event, your bot needs to follow others first.
An event handler invoked when a follow request the bot sent is rejected.
An event handler for a reply to the bot.
An event handler for an unfollow event from the bot.
An event handler for undoing a like of a message.
An event handler invoked when a follow request the bot sent is accepted.
An event handler for a follow request to the bot.
An event handler for a like of a message.
An event handler for a message mentioned to the bot.
An event handler for a message shown to the bot's timeline. To listen to this event, your bot needs to follow others first.
An event handler invoked when a follow request the bot sent is rejected.
An event handler for a reply to the bot.
An event handler for an unfollow event from the bot.
An event handler for undoing a like of a message.
Applies <code>
tag to a text. You can use this function to create
a CodeText tree.
A text tree that renders a inline code. You normally don't need to instantiate this directly; use the code function instead.
Applies <em>
tag to a text. You can use this function to create an
EmText tree.
A text tree that renders an <em>
text. You normally don't need to
instantiate this directly; use the em function instead.
Creates a hashtag. You can use this function to create a HashtagText tree.
A text tree that renders a hashtag. You normally don't need to instantiate this directly; use the hashtag function instead.
Creates a link to the given href
with the label
. You can use this
function to create a LinkText tree.
A text tree that renders a link. You normally don't need to instantiate this directly; use the link function instead.
Renders a Markdown text. You can use this function to create
a MarkdownText tree. The mentions in the Markdown text
will be rendered as links unless the mentions
option is set to
false
.
A text tree that renders a Markdown text. You normally don't need to instantiate this directly; use the markdown function instead.
Mentions an actor by its fediverse handle. You can use this function to create a MentionText tree. The label of the mention will be the same as the handle.
Checks if a given actor
is mentioned in a text
.
A text tree that renders a mention. You normally don't need to instantiate this directly; use the mention function instead.
A function that creates a PlainText tree. It only does two simple things:
Applies <strong>
tag to a text. You can use this function to create a
StrongText tree.
A text tree that renders a <strong>
text. You normally don't need to
instantiate this directly; use the strong function instead.
A text tree that renders a template string with values. You normally don't need to instantiate this directly; use the text function instead.
A tree structure representing a text with formatting. It does not only render the text but also extract tags (e.g., mentions) from it.