Class TdApi.DeleteChatMessagesFromUser

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.DeleteChatMessagesFromUser
Enclosing class:
TdApi

public static class TdApi.DeleteChatMessagesFromUser
extends TdApi.Function
Deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • userId

      public int userId
      User identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • 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, int 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 - int User identifier.
    • DeleteChatMessagesFromUser

      public DeleteChatMessagesFromUser​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details