> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-angular-v5-docs-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Receipt

> Receipt — CometChat documentation.

This component is of class `UIImageView` and is customizable to display `CometChatReceipt`.

***

## Methods

### Progress Icon

This method is used to set Progress Icon for Receipt.

| Methods                               | Description                               |
| ------------------------------------- | ----------------------------------------- |
| `set(messageInProgressIcon: UIImage)` | Used to set In Progress Icon for Receipt. |

<Tabs>
  <Tab title="Swift">
    ```swift theme={null}
    // Syntax for  set(messageInProgressIcon: UIImage)
    receipt.set(messageInProgressIcon: "progress-icon.png")
    ```
  </Tab>
</Tabs>

***

### Sent Icon

This method is used to set sent Icon for Receipt.

|                                 |                                       |
| ------------------------------- | ------------------------------------- |
| `set(messageSentIcon: UIImage)` | Used to set In sent Icon for Receipt. |

<Tabs>
  <Tab title="Swift">
    ```swift theme={null}
    //Syntax for  set(messageSentIcon: UIImage)
    receipt.set(messageSentIcon: "sent-icon.png")
    ```
  </Tab>
</Tabs>

***

### Delivered Icon

This method is used to set delivered Icon for Receipt

|                                      |                                                    |
| ------------------------------------ | -------------------------------------------------- |
| `set(messageDeliveredIcon: UIImage)` | Used to set In delivered Icon for Message Receipt. |

<Tabs>
  <Tab title="Swift">
    ```swift theme={null}
    // Syntax for  set(messageDeliveredIcon: UIImage)
    receipt.set(messageDeliveredIcon: "delivered-icon.png")
    ```
  </Tab>
</Tabs>

***

### Read Icon

This method is used to set read Icon for Receipt

|                                 |                                       |
| ------------------------------- | ------------------------------------- |
| `set(messageReadIcon: UIImage)` | Used to set In read Icon for Receipt. |

<Tabs>
  <Tab title="Swift">
    ```swift theme={null}
    // Syntax for  set(messageReadIcon: UIImage)
    receipt.set(messageReadIcon: "read-icon.png")
    ```
  </Tab>
</Tabs>

***

### Error Icon

This method is used to set error Icon for Receipt

|                                  |                                                   |
| -------------------------------- | ------------------------------------------------- |
| `set(messageErrorIcon: UIImage)` | This method is used to set error Icon for Receipt |

<Tabs>
  <Tab title="Swift">
    ```swift theme={null}
    // Syntax for  set(messageErrorIcon: UIImage)
    messageReceipt.set(messageErrorIcon: "error-icon.png")
    ```
  </Tab>
</Tabs>

***
