Class TdApi.ClearAllDraftMessages

Enclosing class:
TdApi

public static class TdApi.ClearAllDraftMessages
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details