Statuses, media and polls¶
These functions allow you to get information about single statuses and to post and update them, as well as to favourite, bookmark, mute reblog (“boost”) and to undo all of those. For status pinning, check out TODO and TODO on the accounts page.
These functions allow you to get information about scheduled statuses and to update scheduled statuses that already exist. To create new scheduled statuses, use status_post() with the scheduled_at parameter.
This function allows you to upload media to Mastodon and update media uploads. The returned media IDs (Up to 4 at the same time on a default configuration Mastodon instance) can then be used with post_status to attach media to statuses.