ClearAllDraftMessages

public struct ClearAllDraftMessages : Codable, Equatable, TDFunction

Clears draft messages in all chats

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • If true, local draft messages in secret chats will not be cleared

    Declaration

    Swift

    public let excludeSecretChats: Bool
  • Clears draft messages in all chats

    Declaration

    Swift

    public init(excludeSecretChats: Bool)

    Parameters

    excludeSecretChats

    If true, local draft messages in secret chats will not be cleared