getScheduledMessage static method

Future<BaseMessage> getScheduledMessage(
  1. ScheduledMessageRetrievalParams params, {
  2. OnMessageCallback? callback,
})

Retrieve Scheduled Message

Implementation

static Future<BaseMessage> getScheduledMessage(
  ScheduledMessageRetrievalParams params, {
  OnMessageCallback? callback,
}) {
  final sdk = SendbirdSdk().getInternal();
  return sdk.api.send<BaseMessage>(
    ScheduledMessageGetRequest(
      params: params,
    ),
  );
}