Skip to main content

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.

PropertyTypeDescriptionOptional
chatroomMenuCustomActionsChatroomMenuCustomActionsCustom actions for the chatroom menu.✔️
messageMenuCustomActionsMessageCustomActionsCustom actions for the message menu.✔️
inputCustomActionsInputCustomActionsCustom actions for the input field.✔️
pollCustomActionsPollCustomActionsCustom actions for polls.✔️
reactionCustomActionsReactionsCustomActionsCustom actions for reactions.✔️
participantsCustomActionsParticipantsCustomActionsCustom actions for participants.✔️
exploreFeedCustomActionsExploreFeedCustomActionsCustom actions for the explore feed.✔️
dmChannelListCustomActionsDMChannelListCustomActionsCustom actions for the DM channel list.✔️
createPollCustomActionsCreatePollCustomActionsCustom actions for creating polls.✔️
conversationSearchCustomActionsConversationSearchCustomActionsCustom actions for conversation search.✔️
channelListCustomActionsChannelListCustomActionsCustom actions for the channel list.✔️
chatroomCustomActionsChatroomCustomActionsCustom actions for the chatroom.✔️
chatroomSearchCustomActionsChatroomSearchCustomActionsCustom actions for chatroom search.✔️
userProviderCustomActionsUserProviderCustomActionsCustom actions for user provider.✔️
attachmentOptionsLMInputAttachments[]List of attachment options.✔️

LMInputAttachments

enum LMInputAttachments {
GALLERY = "gallery",
DOCUMENT = "document",
POLL = "poll",
}

Reference

For reference checkout this file