updateScheduledStatus abstract method

Future<MastodonResponse<ScheduledStatus>> updateScheduledStatus({
  1. required String statusId,
  2. required DateTime schedule,
})

Update a scheduled status’s publishing date.

Parameters

  • statusId: The ID of the ScheduledStatus in the database.

  • schedule: ISO 8601 date time at which the status will be published. Must be at least 5 minutes into the future.

Endpoint Url

  • PUT /api/v1/scheduled_statuses/:id HTTP/1.1

Authentication Methods

  • OAuth 2.0

Required Scopes

  • write:statuses

Reference

Implementation

Future<MastodonResponse<ScheduledStatus>> updateScheduledStatus({
  required String statusId,
  required DateTime schedule,
});