How to post a toot ?
A short description of the flow used to post a toot :
Description of the flow to create a toot
Notes : the "re:" syntax describes a reply to the action above.
Simple toot :
!compose ceci est un toot
-- Creates a new Draft containing a thread containing a Toot
new draft with id #1
!send #1
-- Checks the permission of the person sending the command,
-- Uploads everything
-- Posts the link
sent toot #1 with link https://toot.link
Toot with image :
!compose ceci est un toot
-- Creates a new Draft containing a thread containing a Toot
new draft with id #2, reply to this message to add attachements or create a thread
re: !attach
-- Expects a image in the following message from the same user and will attach it to the Toot being replied to.
img.jpg
-- Creates a new Image attached to a Toot
Added image, reply to your message to add an alt text
re: #1 img.jpg > "This is an image"
-- Adds text to the Image.description
Added image description
!send #1
Sent toot
Toot with Content Warning
!compose ceci est un toot
-- Creates a new Draft containing a thread containing a Toot new draft with id #1
re: #1 CW: Content warning
-- Adds text to the Toot.cw
Added content warning to draft #1
!send #1
Thread toot with image and cw
!compose
-- Creates a new Draft containing a thread containing a Toot
new Draft with id #1 of a Thread with a Toot
!compose ceci est un autre toot
-- Adds a Toot to a Thread in the Draft #1
Added toot to thread #1
re: #1 img.jpg
-- Creates a new Image attached to a Toot
Added image to toot n°2 of thread #1