We recommend that you read the Key Concepts , follow the guidelines, and also take the time to familiarise yourself with the library’s components.
Custom Option
The first step is to create the custom option that will be populated on the action sheet of the message composer.CometChatMessageComposerAction
is part of the resources
package and is of the following structure.
Click handler
We’ll launch a video recorder component when user clicks on the custom option.CometChatUIKit
class.
Implementation
With the completion of each individual piece, we can now integrate all the code snippets to form the final code example.Code
Result
