StatusesV1Service class abstract

Constructors

StatusesV1Service({required String instance, required ClientContext context})
Returns the new instance of StatusesV1Service.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createBookmark({required String statusId}) Future<MastodonResponse<Status>>
Privately bookmark a status.
createFavourite({required String statusId}) Future<MastodonResponse<Status>>
Add a status to your favourites list.
createMute({required String statusId}) Future<MastodonResponse<Status>>
Do not receive notifications for the thread that this status is part of. Must be a thread in which you are a participant.
createPinnedStatus({required String statusId}) Future<MastodonResponse<Status>>
Feature one of your own public statuses at the top of your profile.
createReblog({required String statusId}) Future<MastodonResponse<Status>>
Re-share a status on your own profile.
createScheduledStatus({required String text, required DateTime schedule, String? spoilerText, String? inReplyToStatusId, bool? sensitive, Visibility? visibility, Language? language, List<String>? mediaIds, StatusPollParam? poll}) Future<MastodonResponse<ScheduledStatus>>
Post a new scheduled status.
createStatus({required String text, String? spoilerText, String? inReplyToStatusId, bool? sensitive, Visibility? visibility, Language? language, List<String>? mediaIds, StatusPollParam? poll}) Future<MastodonResponse<Status>>
Post a new status.
createVote({required String pollId, required int choice}) Future<MastodonResponse<Poll>>
Post a vote to specific choice.
createVotes({required String pollId, required List<int> choices}) Future<MastodonResponse<Poll>>
Post votes to specific choices.
destroyBookmark({required String statusId}) Future<MastodonResponse<Status>>
Remove a status from your private bookmarks.
destroyFavourite({required String statusId}) Future<MastodonResponse<Status>>
Remove a status from your favourites list.
destroyMute({required String statusId}) Future<MastodonResponse<Status>>
Start receiving notifications again for the thread that this status is part of.
destroyPinnedStatus({required String statusId}) Future<MastodonResponse<Status>>
Un-feature a status from the top of your profile.
destroyReblog({required String statusId}) Future<MastodonResponse<Status>>
Undo a re-share of a status.
destroyScheduledStatus({required String statusId}) Future<MastodonResponse<Empty>>
Cancel a scheduled status.
destroyStatus({required String statusId}) Future<MastodonResponse<Status>>
Delete one of your own statuses.
lookupById({required String statusId}) Future<MastodonResponse<Status>>
lookupEditableSource({required String statusId}) Future<MastodonResponse<StatusSource>>
Obtain the source properties for a status so that it can be edited.
lookupEditHistory({required String statusId}) Future<MastodonResponse<List<StatusEdit>>>
Get all known versions of a status, including the initial and current states.
lookupFavouritedUsers({required String statusId, String? maxStatusId, String? minStatusId, String? sinceStatusId, int? limit}) Future<MastodonResponse<List<Account>>>
View who favourited a given status.
lookupPoll({required String pollId}) Future<MastodonResponse<Poll>>
Returns a specific poll.
lookupPollById({required String pollId}) Future<MastodonResponse<Poll>>
lookupRebloggedUsers({required String statusId, String? maxStatusId, String? minStatusId, String? sinceStatusId, int? limit}) Future<MastodonResponse<List<Account>>>
View who boosted a given status.
lookupScheduledStatus({required String statusId}) Future<MastodonResponse<ScheduledStatus>>
View scheduled statuses.
lookupScheduledStatuses({String? maxStatusId, String? minStatusId, String? sinceStatusId, int? limit}) Future<MastodonResponse<List<ScheduledStatus>>>
View scheduled statuses.
lookupStatus({required String statusId}) Future<MastodonResponse<Status>>
Obtain information about a status.
lookupStatusContext({required String statusId}) Future<MastodonResponse<StatusContext>>
View statuses above and below this status in the thread.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateScheduledStatus({required String statusId, required DateTime schedule}) Future<MastodonResponse<ScheduledStatus>>
Update a scheduled status’s publishing date.
updateStatus({required String statusId, required String text, String? spoilerText, bool? sensitive, Language? language, List<String>? mediaIds, StatusPollParam? poll}) Future<MastodonResponse<Status>>
Edit a given status to change its text, sensitivity, media attachments, o r poll.

Operators

operator ==(Object other) bool
The equality operator.
inherited