q-municate-android icon indicating copy to clipboard operation
q-municate-android copied to clipboard

How can i pass one more parameter with message in chat dialog?

Open tatveshwebmigrates opened this issue 6 years ago • 2 comments

how can i send custom parameter with message and how can i edit QBChatMessage.java default class in android demo.

QBChatMessage chatMessage = new QBChatMessage(); chatMessage.setBody(body); chatMessage.setProperty(ChatNotificationUtils.PROPERTY_DATE_SENT, String.valueOf(time));

i want to send one more parameter with -> chatMessage.setCustomparameter("Some String"); how it is possible?

tatveshwebmigrates avatar Apr 09 '18 09:04 tatveshwebmigrates

hello????

tatveshwebmigrates avatar Apr 12 '18 03:04 tatveshwebmigrates

Hi, as states in docs you can use custom parameters for the messages you send in the chat: chatMessage.setProperty("name", "Bob"); chatMessage.setProperty("age", "25");

RomanPronin avatar Apr 12 '18 08:04 RomanPronin