libtd-ktx / kotlinx.telegram.coroutines / editMessageSchedulingState
editMessageSchedulingState
suspend fun TelegramFlow.editMessageSchedulingState(chatId: Long, messageId: Long, schedulingState: MessageSchedulingState?): Unit
Suspend function, which edits the time when a scheduled message will be sent. Scheduling state of all messages in the same album or forwarded together with the message will be also changed.
Parameters
chatId - The chat the message belongs to.
messageId - Identifier of the message.
schedulingState - The new message scheduling state. Pass null to send the message
immediately.