Hello guys,
how can i send a view with buttons something like this ?
for example: when i click the hand on the input, it will send a view with buttons !
You鈥檝e to use renderCustomView
@xcarpentier now it render every-time i type something!
How can i manage that ?
I want when the user type and when it hit send now, to not render the CustomView that i made :/

renderCustomView(currentMessage) you have to test your data in message when you want to display custom view from message meta.
@xcarpentier not sure i truly understand :/ , any example would be a great help .
It's very simple. Create a custom field on your message object, like "invitation". On rendercustomview method, check if currentmessage own invitation field, eg if(currentmessage.invitation). Otherwise, return null
Most helpful comment
It's very simple. Create a custom field on your message object, like "invitation". On rendercustomview method, check if currentmessage own invitation field, eg if(currentmessage.invitation). Otherwise, return null