Class TdApi.EditMessageSchedulingState

  • Enclosing class:
    TdApi

    public static class TdApi.EditMessageSchedulingState
    extends TdApi.Function
    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.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        The chat the message belongs to.
      • messageId

        public long messageId
        Identifier of the message.
      • schedulingState

        public TdApi.MessageSchedulingState schedulingState
        The new message scheduling state; pass null to send the message immediately.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EditMessageSchedulingState

        public EditMessageSchedulingState()
        Default constructor for a 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.

        Returns Ok

      • EditMessageSchedulingState

        public EditMessageSchedulingState​(long chatId,
                                          long messageId,
                                          TdApi.MessageSchedulingState schedulingState)
        Creates a 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.

        Returns Ok

        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.