libtd-ktx / kotlinx.telegram.extensions / ChatKtx / editMessageSchedulingState
editMessageSchedulingState
open suspend fun
Chat
.editMessageSchedulingState(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
messageId
- Identifier of the message.
schedulingState
- The new message scheduling state. Pass null to send the message
immediately.