Matthew_Raleigh2 | 2023-03-16 15:48:59 UTC | #1
Hello All,
I have briefly read through the Headless SDK commands and actions.
I want to create a customized web messenger UI removing just the typing area of WM. I did not see any command or action related to this.
Can you please provide some guidance?
Thanks
Angelo_Cicchitto | 2023-03-16 17:05:58 UTC | #2
@Matthew_Raleigh2 with headless SDK, you are responsible for building the UI components, so adding/removing typing area is entirely up to the your logic within the custom client. Not sure if I mis-read your request. To be clear: if you want to use "headless" mode, you would be turning-off the native Messenger UI from the corresponding Messenger Configuration. Trying to control the native Messenger UI via commands/events (which is valid approach) is different than using "headless" mode. And the native Messenger UI doesn't have any command to remove typing area.
Matthew_Raleigh2 | 2023-03-16 17:24:17 UTC | #3
Hi Angelo,
Thank you for your message.
Thanks for making that distinction. I would need to use headless mode with the Web Messaging Guest API, can you please confirm?
Angelo_Cicchitto | 2023-03-16 18:32:50 UTC | #4
If you want to build a custom messaging client, you have two options:
- Use Messenger "headless" mode, and rely on the JavaScript SDK, mostly MessagingService plugin, or
- Use the Web Messaging Guest API directly
Both are valid and provide equivalent feature coverage. #1 is somehow "easier" in the sense that it will natively take care of network connectivity, and is a wrapper around #2.
Matthew_Raleigh2 | 2023-03-16 18:33:12 UTC | #5
Hi Angleo,
Thanks again for your help.
system | 2023-04-15 18:33:30 UTC | #6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 18956