This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Mastodon.
Summary
Sends a toot with the supplied text and returns the response from the Mastodon REST API along with status code and reason phrase.
- Assembly
- Cake
.Mastodon .dll - Namespace
- Cake
.Mastodon - Containing Type
- MastodonProvider
Syntax
public Task<TootResponse> Toot(string text, string idempotencyKey = null, TootVisibility visibility = 0, CancellationToken ct = null)
Parameters
Name | Type | Description |
---|---|---|
text | string | |
idempotencyKey | string | |
visibility | TootVisibility | |
ct | CancellationToken |
Return Value
Type | Description |
---|---|
Task |