ChatSettings

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

    Swift

    @objc
    public static let initial: ChatSettings
  • 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]
  • Declaration

    Swift

    @objc
    public init(fileSizeLimit: Int64, isFileSendingEnabled: Bool, 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