gonzalezreal / directline Goto Github PK
View Code? Open in Web Editor NEWSwift client library for Microsoft Bot Framework's Direct Line protocol
License: MIT License
Swift client library for Microsoft Bot Framework's Direct Line protocol
License: MIT License
Hi @gonzalezreal,
The pod file for the direct line is not working in the latest swift version. May I know whether the changes are in progress or Can I start contributing to this community to make it work with the latest swift and create the PR for the same?
I am glad and happy to contribute to this repo!
Looking for your response.
Thanks,
Ibrahim Sulaiman
What is exactly Id and Name in
ChannelAccount(id: "myUserID", name: "Guille")
I have been trying for a day now don't get this to work. I get absolutely no response, console log or error. Could you please include an example project in the repo.
I installed using pods direct to your master. Running xcode 9 GM.
I am currently using latest pod version of starscream 3.0.2
I have to use old version pod 'Starscream', '~> 2.1.1' because its dependent on DirectLine
I set up on a Xcode 9.0 project I am getting error as
Error posting activity badStatus(403, 93 bytes)
override func viewDidAppear(_ animated: Bool) {
let directLine = DirectLine(token: "xxxxxx.cwA.gwY.xxxxxxx'")
let myAccount = ChannelAccount(id: "test", name: "test")
directLine
.post(activity: Activity(from: myAccount, text: "Book an appointment?"))
.subscribe(
onNext: {
print("Posted activity, assigned ID (\($0.id)")
},
onError: {
print("Error posting activity \($0)")
}
)
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.