- Enclosing class:
- TdApi
Deletes all messages sent by the
specified message sender in a chat.
Supported only for supergroups; requires
canDeleteMessages administrator privileges.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier of the sender of messages to delete. -
Constructor Summary
ConstructorsConstructorDescriptionDeletes all messages sent by the specified message sender in a chat.DeleteChatMessagesBySender(long chatId, TdApi.MessageSender senderId) Deletes all messages sent by the specified message sender in a chat.Deletes all messages sent by the specified message sender in a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
senderId
Identifier of the sender of messages to delete. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DeleteChatMessagesBySender
public DeleteChatMessagesBySender()Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges. ReturnsOk -
DeleteChatMessagesBySender
Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges. ReturnsOk- Parameters:
chatId- long Chat identifier.senderId- MessageSender Identifier of the sender of messages to delete.
-
DeleteChatMessagesBySender
Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-