public static class TdApi.DeleteChatMessagesBySender extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageSender |
senderId
Identifier of the sender of messages to delete.
|
| Constructor and Description |
|---|
DeleteChatMessagesBySender()
Default constructor for a function, which deletes all messages sent by the specified message sender in a chat.
|
DeleteChatMessagesBySender(long chatId,
TdApi.MessageSender senderId)
Creates a function, which deletes all messages sent by the specified message sender in a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.MessageSender senderId
public static final int CONSTRUCTOR
public DeleteChatMessagesBySender()
Returns Ok
public DeleteChatMessagesBySender(long chatId,
TdApi.MessageSender senderId)
Returns Ok
chatId - Chat identifier.senderId - Identifier of the sender of messages to delete.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object