CustomisationContextProvider
Introduction
The CustomisationContextProvider
provides user with placing custom callbacks for certain actions. You can use these to run your own custom actions instead of default one's, where-in arguments you also get the default actions which you can choose to run along with your actions.
Property | Type | Description | Optional |
---|---|---|---|
chatroomMenuCustomActions | ChatroomMenuCustomActions | Custom actions for the chatroom menu. | ✔️ |
messageMenuCustomActions | MessageCustomActions | Custom actions for the message menu. | ✔️ |
inputCustomActions | InputCustomActions | Custom actions for the input field. | ✔️ |
pollCustomActions | PollCustomActions | Custom actions for polls. | ✔️ |
reactionCustomActions | ReactionsCustomActions | Custom actions for reactions. | ✔️ |
participantsCustomActions | ParticipantsCustomActions | Custom actions for participants. | ✔️ |
exploreFeedCustomActions | ExploreFeedCustomActions | Custom actions for the explore feed. | ✔️ |
dmChannelListCustomActions | DMChannelListCustomActions | Custom actions for the DM channel list. | ✔️ |
createPollCustomActions | CreatePollCustomActions | Custom actions for creating polls. | ✔️ |
conversationSearchCustomActions | ConversationSearchCustomActions | Custom actions for conversation search. | ✔️ |
channelListCustomActions | ChannelListCustomActions | Custom actions for the channel list. | ✔️ |
chatroomCustomActions | ChatroomCustomActions | Custom actions for the chatroom. | ✔️ |
chatroomSearchCustomActions | ChatroomSearchCustomActions | Custom actions for chatroom search. | ✔️ |
userProviderCustomActions | UserProviderCustomActions | Custom actions for user provider. | ✔️ |
attachmentOptions | LMInputAttachments[] | List of attachment options. | ✔️ |
LMInputAttachments
enum LMInputAttachments {
GALLERY = "gallery",
DOCUMENT = "document",
POLL = "poll",
}
Reference
For reference checkout this file