Module tdlight.api

Class TdApi.ClearAllDraftMessages

Enclosing class:
TdApi

public static final class TdApi.ClearAllDraftMessages extends TdApi.Function<TdApi.Ok>
Clears draft messages in all chats.

Returns Ok

  • Field Details

    • excludeSecretChats

      public boolean excludeSecretChats
      If true, local draft messages in secret chats will not be cleared.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ClearAllDraftMessages

      public ClearAllDraftMessages()
      Clears draft messages in all chats.

      Returns Ok

    • ClearAllDraftMessages

      public ClearAllDraftMessages(boolean excludeSecretChats)
      Clears draft messages in all chats.

      Returns Ok

      Parameters:
      excludeSecretChats - boolean If true, local draft messages in secret chats will not be cleared.
    • ClearAllDraftMessages

      public ClearAllDraftMessages(DataInput input) throws IOException
      Clears draft messages in all chats.

      Returns Ok

      Throws:
      IOException
  • Method Details