# ChatLayoutSettings

    public struct ChatLayoutSettings : Equatable

`CollectionViewChatLayout` settings.

- `estimatedItemSize`

  Estimated item size for `CollectionViewChatLayout`. This value will be used as the initial size of the item and the final size will be calculated using `UICollectionViewCell.preferredLayoutAttributesFitting(...)`.

  #### Declaration

  Swift

      public var estimatedItemSize: CGSize?

- `interItemSpacing`

  Spacing between the items in the section.

  #### Declaration

  Swift

      public var interItemSpacing: CGFloat

- `interSectionSpacing`

  Spacing between the sections.

  #### Declaration

  Swift

      public var interSectionSpacing: CGFloat

- `additionalInsets`

  Additional insets for the `CollectionViewChatLayout` content.

  #### Declaration

  Swift

      public var additionalInsets: UIEdgeInsets