# ChatLayoutPositionSnapshot

    public struct ChatLayoutPositionSnapshot : Hashable

Represents content offset position expressed by the specific item and it offset from the top or bottom edge.

- `Edge`

  Represents the edge.

  See more

  #### Declaration

  Swift

      public enum Edge : Hashable

- `indexPath`

  Item’s `IndexPath`

  #### Declaration

  Swift

      public var indexPath: IndexPath

- `kind`

  Kind of item at the `indexPath`

  #### Declaration

  Swift

      public var kind: ItemKind

- `edge`

  The edge of the offset.

  #### Declaration

  Swift

      public var edge: Edge

- `offset`

  The offset from the `edge`.

  #### Declaration

  Swift

      public var offset: CGFloat

- `init(indexPath:kind:edge:offset:)`

  Constructor

  #### Declaration

  Swift

      public init(indexPath: IndexPath,
                  kind: ItemKind,
                  edge: Edge,
                  offset: CGFloat = 0)

  #### Parameters

  `indexPath` | Item’s `IndexPath`
  `edge` | The edge of the offset.
  `offset` | The offset from the `edge`.
  `kind` | Kind of item at the `indexPath`