Telegram Bot - Share content from telegram to whats app - telegram-bot

Want to invoke android share or open whats app using "whatsapp://send?text=....." to share messages from telegram to whats app.
Was trying to open using URL in inline_keyboard.
But Telegram says BAD URL. Is there a way I can open an external browser from telegram so that my URL call to Whats app works? Or is there a better way?

Related

Using webhooks to retrieve messages from google chat api

I'm trying to create a bot to send and receive messages through Google Chat and I wanted to know if there is any way I can retrieve messages using the webhooks? If not, is there anyway I can request the messages in the chat API without an public IP?
NOTE: if there isn't, I have read the https://developers.google.com/chat/how-tos/service-accounts and I wanted to understand: if I setup a Flask server, will google be able to send me the push notifications back, or do I need a public IP?
I have solved the problem.
There is no way, you must register on google as a developer.
Sorry for taking so long to post the solution

Send SMS using Twilio in React-Native

I have been researching for many days on how to send sms using Twilio in React-Native. I haven't found a single example that works! I thought this should be simple but apparently not.
Any suggestions?
Twilio developer evangelist here.
While not ReactNative, I wrote a post about how to send SMS messages in React. The idea for ReactNative will be the same though. You don't want to make requests to the Twilio API directly from your application, you'd need to store your credentials in the app somehow and a malicious user could decompile it and abuse your account.
Instead you want to build a server application that sends the messages and make requests to that from your ReactNative application.
Let me know if that helps at all.

How to work (call)by bot telegram with php?instead in telegram app

I build bot telegram.
Is possible to work/call/use bot in php ? Not build it. I want use bot.
i want use bot without telegram app.
is it possible?
Yes, you download php bot source on hosting and using via browser string.
Must have:
Bot token
SSL certificate

Create custom chat control for bot framework

I'm using Microsoft Bot emulator to test or debug the chat API developed via Bot framework.
Now, i'm going to host the service in my IIS server, but i would like to know how to write client application to this?. We cant use emulator in realtime, we need to provide user a chat window & enter button.
I'm not getting any example projects on how to create chat window for bot API. Is there a way to do it?
Have you registered your bot on Microsoft Bot Framework website yet?
When you are done with this process, there are plenty of channels (Facebook,Skype, etc.) to use in order to talk to your bot. One of them is a simple web client.
How to register a bot: Register a bot
How to connect your bot to channels: Connect a bot to channels
If you would like a custom chat control please see the WebChat control. It is an open source project you can customize and modify to suit your needs. You can embed it anywhere you like.

There was an error loading your app! This app did not load because there appears to be something wrong with it

I am trying to create a Google+ hangout app.
I set up all fields in Google API console Enabled the Google+ hangout to my API's. When I am trying to add my hangout app to my hangout video call.
I am getting error like
There was an error loading your app! This app did not load because
there appears to be something wrong with it.
my XML source file is here
When my hangout app trying to download in hangout, my rails server getting error like
ERROR bad Request-Line `\x16\x03\x01\x00�\x01\x00\x00�\x03\x03y\bA黉̉EI�\x02\x06�p4�B8t\a�?붜��\x12�'.<br/>
ERROR bad URI `��T��\x15d"�\x0F��䃠\x7F�W'�Y�P�=\x00\x00\x1E�'
can anyone help me to come out of these.
when server asking for localhost:3000/demohangoutapp.html , in browser network tab the URL header contains Request URL: "https://localhost:3000/demohangoutapp.html?parent=https%3A%2F%2Fg7vvv07ifja6kfh7hlbpuen02gi410ue-a-hangout-opensocial.googleusercontent.com%2Fgadgets%2Fifr%3Furl%3Dapp%253A%252F%252F1089532940946%252Fhangout%26container%3Dhangout%26view%3Ddefault%26lang%3Dall%26country%3DALL%26debug%3D0%26nocache%3D1%26sanitize%3D0%26v%3De9f67d65d3c45721%26testmode%3D0%26parent%3Dhttps%253A%252F%252Fplus.google.com%26mid%3D1%26authuser%3D0%26hl%3Den%23st%3De%253DABul2V3342qYiNrtSKZaSOoxnVJcmjYLxlJqb%25252Btr8Am84%25252BAj6kYeDXuwqhkxsc5gE64NMBK9CbLIe77j9bOYVgOG9p9z24qCc4Pg6E3usS1oDG%25252F16daISnblUWzGg7XMSklgB5cfXZ2P%2526c%253Dhangout%26view-params%3D%257B%2522applicationUrl%2522%253A%2522https%253A%252F%252Fhangoutiframer.appspot.com%252Fforward%252Fv0.2%253Fu%253Dhttps%253A%252F%252Flocalhost%253A3000%252Fdemohangoutapp.html%2522%252C%2522appData%2522%253A%2522Hangouts%2522%257D&token=ya29.VQGN9n0LHGvwCD0CpORWgLMF3XX7xaExyl7mD_WjtcLbT4ie9uxFW9eIrPsYmRDxHebwSTs-RkGOHQ&gd=Hangouts" and response is failed to load
Looking at your source the issue is that your link to the Hangouts API JS is wrong/outdated.
The currently valid link is https://plus.google.com/hangouts/_/api/v1/hangout.js
Changing this link should fix the issue.