I had created bot app using Circuit SDK and got a sandbox in circuitsandbox.net. To create a bot application I went to "Manage Applications" -> "Custom Apps" and created a bot app. It works great but only way to add bot to conversation I found is to type his full mail in "Add Conversation" menu. Is it possible to found him like common user (searching by his name)?
Bots can be added via email as you noted, and not by its name.
But the new way to add bots to conversations is via the sidebar. This will be available very shortly, probably in a week or two.
Related
I'm using telegram bot and can get user id from incoming message.
Sometimes I want to find users who communicate with telegram bot and write them message by myself.
I have only user id and have not some additional information about the user.
Can I somehow find users by id or anonimity with only id available is by design?
At least what I've been using...
Program your bot to send you a message with link to that user.
This can be done by using link in your message (must be used as message entity or inline keyboard button):
tg://user?id=<user_id>
Or in case you are using MarkdownV2 for formatting
[inline mention of a user](tg://user?id=<user_id>)
Then, by clicking on that link, you will open a user profile, where you can message your target.
Note, user can change his privacy settings, and disable mentions. In this case these links will not work.
We would like to add a hyperlink in our intranet which when clicked will open google chat conversation with the specified bot developed using Google Chat API.
When creating a chatbot via https://console.developers.google.com/apis/api/chat.googleapis.com/hangouts-chat?project=xxxxxxxx, the only identifying information about the bot appears to be an App ID (Project Number) and the Bot name.
As of 2020 version of Google Chat, there appears to be no documentation on how to create a direct URI to a user or bot ID) say something like https://chat.google.com/users/XXXXXXXXX where XXXXXXXX is the Bot ID
An inspection of the Google Chat Web Widget (https://chat.google.com) roster/contact list when communicating with the bot suggests that bot identifiers are of the form user/bot/114553095703997684XXX or user/114553095703997684XXX where 114553095703997684XXX is the App Id referenced earlier.
How can we programmatically construct a direct URI to the chat bot given its App ID or Name?
There is currently no method to create a URL that opens a space with a user or bot.
To get a list of spaces you would need to already be part of one.
I would suggest creating a Feature Request if you have not yet. Create an Issue and submit it as a Feature Request.
I am building a Google Hangouts Chat chatbot.
I need my bot to prompt users, following a dialog with another user. However, a conversation may not have been started with these users yet and I do not have permission to start one without being added to a DM space.
The current solution I envision is to prompt users by email. However, I cannot find a direct link to the bot, or that adds the bot to the user's space. Does such a link exist? Or do I have to send an email with instructions such as "Please go to chat.google.com and add the bot to a conversation"? I'm afraid this will generate strong churn.
Thank you.
Bots can only be added to a space by a user so yes, you will need to instruct the user to add them manually
I want to setup a "Hangouts"-button on my website in a way that my end-users have to click on a button, a sales person is being notified and will start a hangout call and shares the link of that call (via a chat, preferably). So end user can join that hangout call provided via the link without any google account and by just entering his/her name.
I have setup Hangouts on my site via https://developers.google.com/+/hangouts/button and my application via https://developers.google.com/+/hangouts/getting-started but still I didn't find a programmatic way to do this. IMBK I think there is no document available either officially.
I know its easy to add Skype link using https://www.skype.com/en/developer/create-contactme-buttons/ .
But can the similar stuff be done for SkypeForBusiness ?
Creating a link like this works with my employer.
Chat with Skype
I didn't see anything useful on the SDK site.
A quick Google search for "Skype for Business button" returned many results. I don't see anything explicitly saying that you can. Have you tried to use a Skype for Business account when creating a Contact Me button? If so and it didn't work I'd say the answer is no, the functionality isn't available..
Skype for Business has extensive set web APIs available through Web SDK which you can use to achieve your functionality. Is the user on your website an anonymous user or authenticated to Skype for Business?
If the user is authenticated then you can do P2P calls through the SDK, else you would need to create meeting to let the anonymous user talk to a Skype for Business authenticated user.
Also, follow the Web SDK sample and check out Conversation Control that should solve your purpose.
No, you can't create a Skype Button for Skype For Business, because SFB uses email addresses as the handle, and these aren't accepted by the contact me button creator here: https://www.skype.com/en/developer/create-contactme-buttons/