sinch send message to the same id as the current client id - to build a group chat - sinch

Hi am currently trying to adapt my sinch parse messaging app to implement a group chat , but using this schema
startSinchClient(intent.getStringExtra("group_conversation_id"));
and send messages to the same group_conversation_id so that all user connecting to the sinch using the same group_id can recieve incoming messages
current i dont get any error while the message doesnt not call on the onMessageSent

You cannot send message to your self via Sinch.
And sinch is not providing any functionality like group chat, however you can use broadcast message, which is same as broadcast message in whatsapp.

Related

How to send direct message in Slackbot

I would like to send messages to users through Slackbot, just like integration apps such as Zapier.
If I set the channel ID to the user ID it sends a 1:1 message showing up in the Apps tab, but what I really would like to do is to send a message in Slackbot, as I want to create a seamless experience for a Workflow I'm creating.
Then, if I try adding the Slackbot channel ID it returns channel_not_found and there's no way to add the App there.
My current bot token scope to send messages is: chat:write and I'm sending a message using chat.postMessage
Do I need a different scope? Different API method? I've tried going through some other questions/answers, but they look outdated

Can a slack bot join automatically a channel?

I am building a slack application.
I added "incoming-webhook" to oauth scopes that let me choose the channel I want the App to post messages. However unless I ping the app in the channel to add it. I get a "channel not found" error.
Is it possible to add the app to a channel when installing app via oauth ? Without adding it manually by #app-name or /invite app-name ?
When you add an incoming-webhookscope to your app, the option to add a channel during authentication is specific to incoming webhooks not bot messages. So any messages you send via the incoming webhook will send to the channel you selected during authentication. Messages sent via [chat.postMessage][1] will require your bot to be a member of the destination channel, via invite. Incoming webhooks can only be linked to a single channel. You will have to create a new webhook for every channel you want to post to using webhooks. For that reason, I'd recommend using chat.postMessage instead. If you request the chat:write.public scope your bot will be able to post into any public channel without invitation.

Microsoft Teams Bot not sending message Edit/Delete events to bot messaging endpoint

I set up an app using the App Studio within Teams and enabled a bot.
I set up the Messaging endpoint for the bot and am able to receive message and conversationUpdate events from the Teams client. This all works fine.
However, if I then edit a message in the Teams client, the messaging endpoint does not receive the text of the edited message at the messaging endpoint.
Similarly, if I delete a message, I do not receive an event indicating that a message has been deleted.
I'm wondering:
Is this expected behavior?
Is there somewhere these events have to be configured in order to receive them?
Is there an alternate way to integrate with Teams/BotFramework in order to receive these events?
Thanks!

How to make Slack Bot not respond to all the messages in the private group?

I want my bot to respond only if anyone mentions its name like #mybot.
How to achieve this?
For that you need to use the Events API and subscribe to the event app_metion.
That way your app will receive all message that directly mention your bot with #mybot.
Those messages will be sent as request from Slack to the endpoint provided for receiving events.

Activate tropo application via email

I'm trying to link Backback and Tropo to send reminders to groups.
Backpack can send reminders via email or SMS, and Tropo can receive messages via a custom SMS number; the problem is that Backback sends the SMS via email, and needs a provider. It can also be activated with a specific url and receives REST or JSON data.
Is there any way to activate a Tropo application using email or find out what provider setting I should use for Tropo?
ON TROPO:
Phone Numbers:
Voice & Messaging: (705) xxx-xxxx
Outbound Tokens:
Voice: ...
Messaging: ...
Tropo does not have an email gateway for receiving SMS. Applications that send SMS by email won't be able to send to Tropo.
One thing you could do is built a small catcher application that receives the REST call from backpack and then makes a REST call to Tropo to send the SMS. It would be sort of like a translator from Backpack's REST api to Tropo's.

Resources