getScheduledMessage static method
- ScheduledMessageRetrievalParams params,
- {Chat? chat}
Retrieves a BaseMessage
object with a specified scheduled message ID.
Implementation
static Future<BaseMessage> getScheduledMessage(
ScheduledMessageRetrievalParams params, {
Chat? chat,
}) async {
sbLog.i(StackTrace.current,
'params.scheduledMessageId: ${params.scheduledMessageId}');
chat ??= SendbirdChat().chat;
return await chat.apiClient.send<BaseMessage>(
GroupChannelScheduledMessageGetRequest(chat, params: params),
);
}