public static class TdApi.ResendMessages extends TdApi.Function<TdApi.Messages>
Returns Messages
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to send messages.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
messageIds
Identifiers of the messages to resend.
|
TdApi.InputTextQuote |
quote
New manually chosen quote from the message to be replied; pass null if none.
|
| Constructor and Description |
|---|
ResendMessages()
Default constructor for a function, which resends messages which failed to send.
|
ResendMessages(long chatId,
long[] messageIds,
TdApi.InputTextQuote quote)
Creates a function, which resends messages which failed to send.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long[] messageIds
public TdApi.InputTextQuote quote
public static final int CONSTRUCTOR
public ResendMessages()
Returns Messages
public ResendMessages(long chatId,
long[] messageIds,
TdApi.InputTextQuote quote)
Returns Messages
chatId - Identifier of the chat to send messages.messageIds - Identifiers of the messages to resend. Message identifiers must be in a strictly increasing order.quote - New manually chosen quote from the message to be replied; pass null if none. Ignored if more than one message is re-sent, or if messageSendingStateFailed.needAnotherReplyQuote == false.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object