At first, to connect my Botpress bot with MS Teams, I followed these procedures from Botpress MsTeams connection page, but in this way, I can't send messages to the bot. I made some research and find out I need to publish my bot as an app. To solve this problem I created a trial version of the Microsoft 365 developer subscription
After that, I created an App with a bot from App Studio and now I have the choice to send the file to the bot but Botpress can't see the file and It can only see the texts. How can I send files to the user and get files from a user from the Teams app using Botpress?
You can send and receive the files using bot. Please check Send and receive files through the bot also check Example for how to upload a file using bot.
Related
I am new to creating a discord bot. I hope you can all give me a good solution to my problem.
I tried to create a bot for a company's server and followed a free guide. I had one problem when adding the bot to the server.
I got a message that the authorization succeeded but I cannot find the bot on the server. The guide clearly mentioned that I can find an offline bot. So I created my own discord server and tried again. OMG, it went well.
What's the problem?
Should I change the discord server setting? If yes, which option?
I think that the server settings are done in the way that the bot does not have a permissions to be in the channel you are trying to find it in. If you have admin permissions take a look into User management in server settings if the bot did or did not join and if it did, give it some permissions so that it has an access to the channel you want to see it in.
(On the right panel you see member of the channel you are currently clicked onto not the entire server.)
I am trying o debug my team's app locally as I have done since starting development by clicking the debug(Chrome) in the team's toolkit extension. Starting today I have been getting the following error:
[RegisterBot.AlreadyCreatedBotNotExist]: Could not get bot with id 65e9a59e-3b1b-4605-97bd-9a8000243bc0 which was created before. This could happen if the bot was created by another account. Visit https://aka.ms/teamsfx-switch-account-or-subscription-help to learn more.
I have not been logged into any other account so I'm unsure how this has happened. Has this been an issue for anyone else?
The live-site issue was resolved. #koiram Can you try again to check if the issue is gone? Thanks
There's some live-site issue of the underlying server side APIs.
You can try the workaround below. For more details, check https://github.com/OfficeDev/TeamsFx/issues/7184.
Hi all, here is a workaround for VS Code:
In .vscode/tasks.json, remove "Set up bot" from the "dependsOn" field of "Start Teams App Locally" task.
From command palette, run "Tasks: Run Task" and select "Start local tunnel". Then open "Start local tunnel" terminal, you can see the
forwarding url like
"https://f633-2404-f801-9000-18-6fec-00-26d.ngrok.io".
Create an AAD app with your M365 account. Create a client secret and copy the secret value which will be used later.
Create a bot in https://dev.botframework.com/bots/new with your M365 account. Set the messaging endpoint using the above forwarding
url like
"https://f633-2404-f801-9000-18-6fec-00-26d.ngrok.io/api/messages".
After the bot is created, configure Microsoft Teams channel.
In templates/appPackage/manifest.template.json, update botId to the AAD app client id; update validDomains to the domain of the
above forwarding url like
"f633-2404-f801-9000-18-6fec-00-26d.ngrok.io".
In bot/.env.teamsfx.local, update "BOT_ID" to the AAD app client id; update BOT_PASSWORD to the AAD app client secret.
F5.
I'm helping a friend set up a server and was wondering if it was possible to copy and paste the messages on one server to another without being an admin on one of them?
To copy the messages to and from one server, you'd want to use webhooks to move them across and preserve the username. A feature like this has been implemented in various discord bots, but if you want to create your own then here is a discord.js example of how to do so: https://anidiots.guide/discord-webhooks.
What you'd want to do is to wait for the message event, then get (or create) a webhook from the other server with the user's name, then send the message contents in that webhook.
I have created an azure logic app and I want to have it send a message to a skype group on certain conditions. I have added the Skype for Business connector, but I am not sure how to specify the group to send to. Is there a specific link or id I need to put in the to field?
The Skype for Business Online is a preview connector,for now It only supported send message to one people.
If you want to send message with it, you could go to Skype , find the people you want to send message, right click it and choose copy then you will get its email, paste it in the To box.
Or you could choose send mails with Office 365 outlook, it supports send to multiple people,just add the ; between Email addresses.
Hope this could help you, if you still have other questions, please let me know.
We are not migrated to Azure as of now, so not using MS Bot-Framework.
We are building an AI bot for skype for business. We already have our NLP modules (as REST api(s)) on a server. Now all we need is when a user ping our bot we need to get user message send the message to the server, which will return us the reply and put this reply back to the user.
basically to the user he is just ping a guy in the firm, while this guy/ bot/ profile, gets the automatic reply from a rest call.
Now though this looks simple, I am not sure what is the best way to do this out of:
WPF controls
Lync Client SDK
UCWA
UCMA
Skype for Web SDK
I am quite new to this, and already alot confused.
I figured out the best way to do this was UCMA.
https://msdn.microsoft.com/ru-ru/library/dn465943(v=office.16).aspx
And here is the sample code for the same
https://gist.github.com/AbhishekAshokDubey/110ebae9c48e4f5604c0feef13121cc2