- Enclosing class:
- TdApi
Deletes all messages sent by the
specified user to a chat. Supported
only for supergroups; requires
canDeleteMessages administrator privileges.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
long
User identifier. -
Constructor Summary
ConstructorDescriptionDeletes all messages sent by the specified user to a chat.DeleteChatMessagesFromUser
(long chatId, long userId) Deletes all messages sent by the specified user to a chat.Deletes all messages sent by the specified user to a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
userId
public long userIdUser identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DeleteChatMessagesFromUser
public DeleteChatMessagesFromUser()Deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges.Returns
Ok
-
DeleteChatMessagesFromUser
public DeleteChatMessagesFromUser(long chatId, long userId) Deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges.Returns
Ok
- Parameters:
chatId
- long Chat identifier.userId
- long User identifier.
-
DeleteChatMessagesFromUser
Deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-