Class TdApi.ClearAllDraftMessages

  • Enclosing class:
    TdApi

    public static class TdApi.ClearAllDraftMessages
    extends TdApi.Function
    Clears draft messages in all chats.

    Returns Ok

    • Field Detail

      • excludeSecretChats

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

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClearAllDraftMessages

        public ClearAllDraftMessages()
        Default constructor for a function, which clears draft messages in all chats.

        Returns Ok

      • ClearAllDraftMessages

        public ClearAllDraftMessages​(boolean excludeSecretChats)
        Creates a function, which clears draft messages in all chats.

        Returns Ok

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