Bonfire.Messages.API.GraphQLMasto.Adapter (Bonfire v1.0.1-social-alpha.28)
View SourceConversations/DM API endpoints for Mastodon-compatible client apps
Summary
Functions
List conversations (DM threads) for the current user.
Returns a list of Mastodon-compatible Conversation objects with:
- id: thread ID
- accounts: participants
- unread: whether there are unseen messages
- last_status: the most recent message
Mark a conversation as read.
Marks all messages in the thread as seen by the current user. Returns the updated conversation object.