Release Notes
Announcements
Message Input Interface | Emoji Picker |
![]() | ![]() |
Parameter | Type | Description |
conversationID | String | Conversation ID used to identify the current chat session |
config | MessageInputConfigProtocol | Input style configuration that controls which function buttons are displayed |
Method | Parameters | Description |
init | conversationID: String, config: MessageInputConfigProtocol | Initializes the message input component |
import AtomicXimport SwiftUIstruct ChatView: View {var body: some View {VStack {Spacer()MessageInput(conversationID: "conversation_123")}}}
// Customize the displayed function buttonsMessageInput(text: $inputText,conversationID: conversationID,config: ChatMessageInputConfig(isShowAudioRecorder: false, // Hide audio recordingisShowPhotoTaker: true, // Show photo captureisShowMore: true, // Show "More" optionsisShowSendButton: true // Show send button))
Default Input Box | Input Box with Audio Recording Hidden | Input Box with All Features Hidden |
![]() | ![]() | ![]() |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback