Package org.drinkless.tdlib
Class TdApi.EditMessageSchedulingState
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description longchatIdThe chat the message belongs to.static intCONSTRUCTORIdentifier uniquely determining type of the object.longmessageIdIdentifier of the message.TdApi.MessageSchedulingStateschedulingStateThe new message scheduling state; pass null to send the message immediately.
-
Constructor Summary
Constructors Constructor Description EditMessageSchedulingState()Default constructor for a function, which edits the time when a scheduled message will be sent.EditMessageSchedulingState(long chatId, long messageId, TdApi.MessageSchedulingState schedulingState)Creates a function, which edits the time when a scheduled message will be sent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-