MastodonProvider.

Toot(string, string, TootVisibility, CancellationToken) Method

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<TootResponse>