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 |
![]() | ![]() | ![]() |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários