Class TdApi.DeleteMessages

Enclosing class:
TdApi

public static class TdApi.DeleteMessages extends TdApi.Function<TdApi.Ok>
Deletes messages.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageIds

      public long[] messageIds
      Identifiers of the messages to be deleted.
    • revoke

      public boolean revoke
      Pass true to try to delete messages for all chat members. Always true for supergroups, channels and secret chats.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • DeleteMessages

      public DeleteMessages()
      Deletes messages.

      Returns Ok

    • DeleteMessages

      public DeleteMessages(long chatId, long[] messageIds, boolean revoke)
      Deletes messages.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      messageIds - long[] Identifiers of the messages to be deleted.
      revoke - boolean Pass true to try to delete messages for all chat members. Always true for supergroups, channels and secret chats.
    • DeleteMessages

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