Add a new user to existing group chat in Quickblox - quickblox

How can I add a new user to existing group chat ?
Lets say that I have a group chat with A, B and C .
I need to add a user D to this chat .
I am using Android and JS SDKs .

To achieve this, on groupchat manager you will need to call method updateDialog(QBDialog dialog, QBRequestUpdateBuilder requestBuilder), with the help of which a new array of users' IDs will be transferred. And you will also need to inform newly added chat users that they were added, as no push notification will be sent automatically.

Related

How to get app events from Facebook event manager, Facebook Java sdk?

I want to receive app events installed from Facebook Events Manager like number of installs, purchases etc.
What I am doing so far is:
var events = new Application("app_id", FacebookUtil.createApiContext(token)).getEvents()
.requestAllFields()
.execute();
It is expected to return events list as in the image, but instead it returns an empty list.
Am I missing something?
Thank you for any help.

How can I check new contact added in phone

I'm use react-native and react-native-contacts, so, I need the total list of contacts to persist that. Then, when the user open again the app I need to check contacts added for save it again only this newers.
Exist any method for that?
No method for this. You can iterate as #CampbellMG said in the application. If you want this feature please open an issue in the tracker.

Telegram Bot: How to delete/remove userpic of bot?

I'm trying to remove the user picture of my telegram bot but there seems to be no option. Is it possible to delete/remove the userpic of a bot?
I know that I could upload any other photo via botfathers /setuserpic command but I want to simply remove the pic without any replacement.
Currently there seems to be no way to remove the pic completely.
Open BotFather
/mybots
Select your bot
Click Edit
Click Edit Botpic
Send a new picture to Bot Father
Bot father will add the latest photo as Display Picture.
Note: Bot father does remove the old picture. After changing the profile picture... open your bot... and check dp from there... you'll see only the last updated one.
Remember, if you check dp from the chat list(or Rows) you'll see earlier picture too. But that too gets removed once you open your bot and check dp from chat window!

Add new in-app purcchase item after app available in apple store in itunesconnect

I am uploading to app to apple store, But I want to add new items later , can I add new in-app purchases from itunes account when app will approved and ready for sale, I have set everything IAP from server and in code.
Yes, you can. As long as you have code to retrieve list of available IAP and show them in your app - you're fine.
One correction. The very first IAP that you create for your app you must submit along with the binary. After that when navigating to iTunes Connect you should see In-App Purchases tab in your application page:
Yes, you just have to ensure that your live app knows how to handle these purchases, i.e. if you add a new IAP to unlock a feature, your app needs to know about it before submitting.

Need a way to alert users when building spotify app

I'm building a spotify app that does some work in the background and should then alert the user if it finds a match. I can't find a way to notify the user on the main plane when I have found something of interest.
I'd like to have something like a counter on my app name or some form of notification in order to alert the user that something has changed in my app and that they should come to the app.
Does anyone know if this is possible ?
thanks,
Sean
You would need to notify them via Facebook, Spotify doesn't allow you to identify the individual users on the Spotify platform through the api.
Also there is the issue of that your App unloads after 60seconds of the user not being on the App Pane (off in a playlist etc).
So whilst a counter icon that you suggest would be wonderful.
The App Unload-er needs to go away first.