ChatSettings

@objc(ZDKChatSettings)
public final class ChatSettings : NSObject, DataConvertible, ReflectedStringConvertible, InitialStateProtocol

The ZDKChatSettings model stores information about the chat account’s settings, such as the fileSizeLimit, whether attachments are enabled, and the list of accepted file extensions.

  • File size limit is 20 MB

    Declaration

    Swift

    @objc
    public let fileSizeLimit: Int64
  • if true, sending the attachments is available

    Declaration

    Swift

    @objc
    public let isFileSendingEnabled: Bool
  • Lists array of supported file types - png, jpg, jpeg

    Declaration

    Swift

    @objc
    public let supportedFileTypes: [String]
  • Returns a Boolean value that indicates whether the receiver and a given object are equal.

    Declaration

    Swift

    override public func isEqual(_ object: Any?) -> Bool

    Parameters

    object

    the object to compare against