clarification on integrating slack api in the xamarin app? - xamarin

I am working on a Xamarin App in which we need to have a feature as Open chat room or discussion room. I was exploring the slack api and interested to integrate the slack api in the App.
My clarification is, on integrating slack client api in the app, whether chat feature will be enabled? Whether my app registered users can utilize the slack chat room ? Or do the app registered users has also to register in the slack?

The Slack API is not much use if you do not plan to work with the core Slack application as well. So if you are just looking to extend your own app with a chat features, the Slack API will not help you much. To utilize the Slack chat features, you need to setup your own Slack team and your users will need to register on the Slack team and use it. The Slack API mainly enables one to build automation and bots around a Slack team.

QuickBlox is another 3rd-party SDK that you can use.
xamarin chat sample https://quickblox.com/developers/Sample-chat-xamarin/

Related

How to add API to chat bot or any web sites notification(like twitter)

i want to create a chat bot using LUIS (ms bot framework) that should have to be integrated with the notification of stock,sports and API like Facebook , twitter notification.
please elaborately explain i am a beginner.
I would suggest you to go through the Graph Authentication and LUIS samples from the bot builder sample repository on GitHub.
BotBuilder Samples

Custom bot not working with mobile client

I have a Custom Bot set up via using these instructions.
The Bot is set up and successfully working in a Team when it is #Mentioned from a Teams desktop client or the web interface. When the Bot is #Mentioned from a Teams mobile client however, it does not respond.
I added logging to my webhook and have found that it does not seem to be triggered when #Mentions from a mobile client are sent.
Is there a bug here or are #Mentions from mobile devices not supported?
Invoking custom bots from mobile devices is not currently supported. I wish we had a good reason, but we don't; it fell through the cracks. Thanks for bringing it to our attention and reminding us about it.
We don't have an ETA for when it will be supported, but we do intend to support it.

BotKit Slack Bot to Microsoft Teams Bot

I recently built a slack bot via the BotKit toolkit and now want to be able to expand from just slack to many other services. Basically, I was reading https://venturebeat.com/2016/11/02/how-bots-will-work-on-microsoft-teams/
and it states that
"The integration means Microsoft Bot Framework users will be able to make bots for Slack, and Botkit users will be able to bring their bots to additional platforms, like Telegram, Kik, Twilio, and Skype. (Before the change, Botkit was only able to make bots for Slack and Facebook Messenger.)"
However, it is not clear to me how this can be accomplished. Do you mind explaining this to me or pointing me in the right direction? From what I understand, it should be a simple process of having my slackbot basically run within Microsoft Teams or Skype or whatever service.
Thanks!
The VentureBeat link for the Public Preview of Microsoft Teams was referring to the ability to use bots written for Slack (via BotKit or otherwise) within Microsoft Teams with little or no modification necessary. This capability is provided by Message.io. You can contact them for more information or look on their website.
Microsoft Teams also has a native bot platform - the Microsoft Bot Framework (which also supports Slack, Skype, Facebook, and several other chat platforms). BotKit does not yet support Bot Framework.
(#JasonSowers)[https://stackoverflow.com/users/3011564/jasonsowers] is correct - BotKit and Bot Framework are two different bot platforms; today Microsoft teams supports one via Message.io and one natively.
So I think your path is:
Register your bot in the Bot Framework to host the bot, referencing the Botkit. Make sure you add Microsoft Teams as a channel.
Create a package for your bot and [Sideload it][3] in Teams to test.

How to create a slack bot with the events API

I have my own slack team, with its own slackbot user.
I want to create a basic slack bot that will respond to direct messages, and I since I need specific events, I need to use the Events API.
I understand that slack will POST to my server the event that happened with its parameters, but I don't understand what needs to be done with the oauth permissions.
How can I add permissions to the slack app, without submitting the app?
reading the docs, I couldn't find the answer to this..
what am I missing?
You do not need to submit your app to the Slack App Directory. That is optional and only necessary if you want to make your app available to the public.
But you need to install your app to your Slack team before you can use it. During the installation process your app will be authenticated to your Slack team and you will receive a special token based on the scopes you requested.
The authentication process follows the OAuth standard and works similar to the process used by other web services, e.g. Twitter or Facebook.
I use a mini website for each of my Slack apps that has the "Add to Slack" button and is able to run through the OAuth process with Slack. This website is basically another script in addition to the one that will handle the events coming form Slack.
Check out the excellent documentation from Slack on the Slack button and how to use Oauth with Slack.

Microsoft Bot Framework Client sdk

I am looking to use Microsoft Bot Framework in my application. However, I have a custom UI chat control (designed according to my requirements) where I need to hook up this bot.(instead of having pre-configured channels like slack or skype).
Is there a client sdk for web (preferably in angular) and/or mobile available for this purpose?
Take a look at DirectLine.
The Direct Line API is a simple REST API for connecting directly to a single bot. This API is intended for developers writing their own client applications, web chat controls, or mobile apps that will talk to their bot.
DirectLine is always a good option to add chat functionality in your custom UI. Otherwise you can just turn on Web Chat channel and embed iframe in your webpage. This will make your job easy with very less errors.
I have seen directline causing many issues while sending requests. Web Chat is always a better option.

Resources