Module tdlight.api

Class TdApi.ClearAllDraftMessages

Enclosing class:
TdApi

public static final class TdApi.ClearAllDraftMessages extends TdApi.Function<TdApi.Ok>
Clears message drafts in all chats. Returns Ok
  • Field Details

    • excludeSecretChats

      public boolean excludeSecretChats
      Pass true to keep local message drafts in secret chats.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ClearAllDraftMessages

      public ClearAllDraftMessages()
      Clears message drafts in all chats. Returns Ok
    • ClearAllDraftMessages

      public ClearAllDraftMessages(boolean excludeSecretChats)
      Clears message drafts in all chats. Returns Ok
      Parameters:
      excludeSecretChats - boolean Pass true to keep local message drafts in secret chats.
    • ClearAllDraftMessages

      public ClearAllDraftMessages(DataInput input) throws IOException
      Clears message drafts in all chats. Returns Ok
      Throws:
      IOException
  • Method Details