public static class TdApi.DeleteChatMessagesBySender extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function