crisp-im / crisp-sdk-ios

:package: Crisp iOS SDK, add a chat in any iOS app and communicate with your users.
https://docs.crisp.chat/guides/chatbox-sdks/ios-sdk/
Other
45 stars 19 forks source link

Add prefill message content method to iOS SDK #56

Open alimcharaniya opened 3 years ago

alimcharaniya commented 3 years ago

Hi there,

We like to prefill messages for our users so our support team can quickly understand the inquiry reason. The JS SDK has the ablity to send a pre determined message.

$crisp.push(['do', 'chat:open']);
$crisp.push(['do', 'message:send', ['text', 'Verify my account, please.']]);

Can we please add this functionality to the iOS SDK?

Thanks, Alim

baptistejamin commented 3 years ago

Hey Alim! Thanks for the feedback, I'll share this with the rest of the team!

jmtiimo commented 1 year ago

@baptistejamin is this something that's on the roadmap? We would love to have this feature

davit-b commented 3 weeks ago

Just a suggestion, Is it possible for you guys to do

CrispSDK.session.segments = ["iOSApp1.2", "support", "verify_account"]
CrispSDK.session.setString("verify_me_request", forKey: "request_type")

You can filter by segments in the UI And you can also view the session key:values in the UI as well