Package org.drinkless.tdlib
Class TdApi.MessageSendingStateFailed
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageSendingState
-
- org.drinkless.tdlib.TdApi.MessageSendingStateFailed
-
- Enclosing class:
- TdApi
public static class TdApi.MessageSendingStateFailed extends TdApi.MessageSendingState
The message failed to be sent.
-
-
Field Summary
Fields Modifier and Type Field Description booleancanRetryTrue, if the message can be re-sent.static intCONSTRUCTORIdentifier uniquely determining type of the object.interrorCodeAn error code; 0 if unknown.StringerrorMessageError message.booleanneedAnotherSenderTrue, if the message can be re-sent only on behalf of a different sender.doubleretryAfterTime left before the message can be re-sent, in seconds.
-
Constructor Summary
Constructors Constructor Description MessageSendingStateFailed()The message failed to be sent.MessageSendingStateFailed(int errorCode, String errorMessage, boolean canRetry, boolean needAnotherSender, double retryAfter)The message failed to be sent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
errorCode
public int errorCode
An error code; 0 if unknown.
-
errorMessage
public String errorMessage
Error message.
-
canRetry
public boolean canRetry
True, if the message can be re-sent.
-
needAnotherSender
public boolean needAnotherSender
True, if the message can be re-sent only on behalf of a different sender.
-
retryAfter
public double retryAfter
Time left before the message can be re-sent, in seconds. No update is sent when this field changes.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageSendingStateFailed
public MessageSendingStateFailed()
The message failed to be sent.
-
MessageSendingStateFailed
public MessageSendingStateFailed(int errorCode, String errorMessage, boolean canRetry, boolean needAnotherSender, double retryAfter)The message failed to be sent.- Parameters:
errorCode- An error code; 0 if unknown.errorMessage- Error message.canRetry- True, if the message can be re-sent.needAnotherSender- True, if the message can be re-sent only on behalf of a different sender.retryAfter- Time left before the message can be re-sent, in seconds. No update is sent when this field changes.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-