I have WTelegramClient and I need to change the chat(group,supgroup) from public to private chat
,I am tried to find solutions in the WTelegramClient but I don't find it ..
I am tried to changing chat type from public to private chat using WTelegramClient, but I can not it
try Channels_UpdateUsername(channel, null)
Side note: DON'T WRITE comments on random Github commits requesting new features to be added to the library, especially after I told you in Github Issues that it was no a library problem but rather a question about using Telegram API correctly.
Next time, I will report the abuse.
Related
We have configured Relativity DEVVM 12.1.431.2 and we want to fetch data from the relativity account using Relativity's API or some Relativity Service. I have explored their Documentation but it's really getting difficult to find what I want (i.e. getting data out of Relativity Platform using their API or some documentation or GitHub code which enables me to have Relativity API endpoints.)
I have checked in Relativity Community, but there is no setup for API explorer although they claim there is one.
https://www.relativity.com/data-solutions/customizations/app-hub/api-explorer/
I have checked this one out but the GitHub code is more about getting importing data and other stuff than exporting.
https://platform.relativity.com/10.3/Content/Transfer_API/Transfer_API.htm#:~:text=The%20Transfer%20API%20(TAPI)%20provides,protocols%2C%20for%20example%2C%20SMB.
I have checked following link and nothing is helping.
https://platform.relativity.com/10.3/#REST_API/REST_API.htm?TocPath=REST%25C2%25A0API%257C_____0
So coming to the question,
Is it possible to get data out of Relativity account using some Relativity API and If yes than how can I do so??
I am expecting some documentations or maybe GitHub projects which can solve the purpose.
Please note, I have already managed to get list of workspaces from my assigned Relativity account.
What more I want is getting Work folders, Documents, Custodians etc..
I am using the below code :
https://github.com/microsoft/BotBuilder-Samples/tree/master/experimental/adaptive-dialog/csharp_dotnetcore/
I have loaded csharp_dotnetcore.sln in visual studio file and able to see core-bot todo-bot ,using-cards and multi-turn-prompt . I am able to build the project.
It is mentioned in README that I have to download the json file from LUIS and put in specific location.However, even after downloading the file and putting in the location, intents are not getting recognized.
Please help me with adding a LUIS intent in this project.
And also where to do the necessary changes to identify the intents provided in chat bot. Will it be in RootDialog.cs ?
I have also put the LUIS app id and key and hostname in CoreBot.luis.json.
In the attached screenshot ,sample output can be seen. Where it is only producing the output from CoreBot.luis.json file and its kind of a static output, even though after changing the json file content i am getting the same response in chatbot and i also want it to detect the output directly from LUIS portal
Please help.
Ok, your issue here is sheer confusion. You list 3 separate projects that you're saying aren't working.
Both the CoreBot and the ToDoBot require LUIS. You have to add the LUIS model on your LUIS.ai portal using either the CLI or manually through the portal upload:
Once you have your LUIS app created, you can use the appID and Password you get from the LUIS portal to add to the appsettings.json file:
In the question, you say you're using CoreBot, in the first comment, you say you're using Cards Bot, and in a later comment you say you're using ToDo Bot. Those are three different bots in the solution, so you're probably putting your keys in the wrong appsetttings.json file. Double check that you're using the right appsettings.json file.
Also to note: the bots in the experimental branch are meant to see different possible approaches that the Bot Framework might take going forward, and should not be used in production environments. They are not guaranteed to work, and are not supported.
I started to learn how to develop bots with the Microsoft Bot SDK and Language Understanding Intelligent Service (LUIS)
I've seen a lot of guides and samples but I see two different ways, and I don't know how to mix them.
I find a lot of samples like this https://github.com/Microsoft/BotBuilder/tree/master/CSharp/Samples/PizzaBot where you can get advanced used of the chat bot features, but the data from LUIS comes froma json you need to download and add to your project each time it changes.
I find another sample https://code.msdn.microsoft.com/Chat-Bot-using-Bot-1211d6ce where the project gets direct conection to LUIS and deserialices the data, but in that I cannot find how to do chain dialogs.
What I want is to use IDialogs but without need to download the json.
First of all, you never need to download the json. The json the PizzaBot is providing is the LUIS model, for you to import to LUIS as an existing application. You might want to read the Importing and Exporting Applications section from the docs.
That being clarified, if you want to get started on LUIS (and many other features of the BotFramework) you can check the BotBuilder-Samples repository where you will find task focused samples and demo samples both in C# and Node.js.
In particular, I think you will find useful the LUIS sample and the MultiDialogs one
I am new to xAPI/TinCan API so my question might be a bit general but I haven't found anything that can help me so far.
I figured it is possible to integrate xAPI into a Unity project (a game or simulation) but how exactly do I do that? (Are there any examples/documentation I can read on xAPI & Unity?)
So am I right to understand: I need a LRS, then I can use the TinCan .NET library and integrate it in Unity and then just have some conditions in my Unity code (like finish that level..) and if they are fulfilled I create a statement like in the example here (http://rusticisoftware.github.io/TinCan.NET/) and then send it to my LRS via a normal POST? And then I can see/query this learning data in my LRS for analytics?
Plus does it work for Unity standalone, mobile and web player??
An API for integrating xAPI into Unity3D has been released by the GBLxAPI open source community. This was built up from the rustici software c# library with more specific integration to the Unity game engine for collecting data for learning games. You can get access to the API from here https://gblxapi.org/community-blog-xapi-gbl/14-unity-3d-xapi-pilot-getting-started
The documentation is on the GBLxAPI GitHub site in the wiki. https://github.com/gblxapi/UnityGBLxAPI
The community also provides access to a sandbox you can test your integrations in your games to an LRS and BI tool for free as of this writing. There is also a free game demo where you can see xAPI being generated from a game.
This had been successfully integrated to a lot of games including non-learning games for collecting general game analytics using xAPI.
I have little Unity experience (other than researching others' questions on this subject) but for the most part I believe you are correct. TinCan.NET should work with Unity based on what others have said, and it provides everything you need to communicate with the LRS (so no need to do your own POST, etc. instead look at the RemoteLRS class methods).
In general I would avoid querying the LRS directly for analytics reporting, instead consider it a long lived data store that should be used to populate a reporting tool. Having said that, you can certainly see the data in an LRS. You can access a free LRS at https://cloud.scorm.com (from Rustici Software maintainers of TinCan.NET) by signing up for an account.
Note you may run into a common issue with SSL certificate validation and will want to have a look at Mono https webrequest fails with "The authentication or decryption has failed" if you do.
I can't speak to the standalone, mobile, web player question, though I'd expect anything supporting .NET should work.
Here is a simple Unity game example from HT2, a company behind Learning Locker Open Source LRS
https://github.com/HT2-Labs/unity-xapi
It is sending one xAPI statement from Start() at game initialization. I could make it working with Learning Locker and a free https://lrs.adlnet.gov/ (beware, they make your statements public here)
To make this example work:
git clone locally Unity example from github
add it to your local Unity hub
there will be warning about Unity old version of the example, select whatever Unity version you use and confirm version upgrade
open TinCanTest.cs in Visual Studio, change
string endpoint = "https://ORG_NAME.learninglocker.net/data/xAPI";
string user = "KEY";
string password = "SECRET";
to credentials of your LRS and try running the game.
Looks it uses Rustici C#/.NET TinCan library
https://github.com/RusticiSoftware/TinCan.NET
which you can install from NuGet.
As of 2019 there are other free tryout LRS limited editions:
https://cloud.scorm.com/sc/guest/SignUpForm
https://www.yetanalytics.com/xapi
https://www.watershedlrs.com/product/pricing/essentials-learning-record-store
Open Source LRS
https://github.com/LearningLocker/learninglocker
https://github.com/adlnet/ADL_LRS
I'm trying to get into the Amazon advertizing API to use with one of my apps. I heard recently that there were changes and needed an AssociateTag (broughtin from the affiliate program)
After using samples from this link
http://aws.amazon.com/code/2480?_encoding=UTF8&queryArg=searchQuery&x=0&fromSearch=1&y=0&searchPath=code&searchQuery=Advertising
and
http://flyingpies.wordpress.com/2009/08/13/signing-amazon-product-advertising-api-cwcf-part-2/
I can't seem to use those samples anymore. after some digging online I found that I was supposed to add an AssociateTag to the itemSource request variable, but I created a dummy login to facilitate that andthe output is pretty much the same. can anyone help me with this?
I had the exact same issue as I based my application on the flyingpies.wordpress example and couldn't get it to work by adding in the Associate Tag Id and the latest web service>
I downloaded this example:
http://aws.amazon.com/code/Product-Advertising-API/2481
And made some small changes and got it all working...
The main one changing the namespace to:
http://webservices.amazon.com/AWSECommerceService/2011-08-01
Throughout all the code......
I think I may have updated the code in a couple of other places and can help you if these errors occur..