Skip to main content
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.
MethodsDescription
set(messageInProgressIcon: UIImage)Used to set In Progress Icon for Receipt.
  • Swift
// Syntax for  set(messageInProgressIcon: UIImage)
receipt.set(messageInProgressIcon: "progress-icon.png")

Sent Icon

This method is used to set sent Icon for Receipt.
set(messageSentIcon: UIImage)Used to set In sent Icon for Receipt.
  • Swift
//Syntax for  set(messageSentIcon: UIImage)
receipt.set(messageSentIcon: "sent-icon.png")

Delivered Icon

This method is used to set delivered Icon for Receipt
set(messageDeliveredIcon: UIImage)Used to set In delivered Icon for Message Receipt.
  • Swift
// Syntax for  set(messageDeliveredIcon: UIImage)
receipt.set(messageDeliveredIcon: "delivered-icon.png")

Read Icon

This method is used to set read Icon for Receipt
set(messageReadIcon: UIImage)Used to set In read Icon for Receipt.
  • Swift
// Syntax for  set(messageReadIcon: UIImage)
receipt.set(messageReadIcon: "read-icon.png")

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
  • Swift
// Syntax for  set(messageErrorIcon: UIImage)
messageReceipt.set(messageErrorIcon: "error-icon.png")

I