Adding QuickStart to readme.
This commit is contained in:
parent
f03e67f345
commit
d0d93a07c0
23
README.md
23
README.md
@ -39,6 +39,7 @@ Thanks !
|
|||||||
## Index
|
## Index
|
||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [How to Start](#how-to-start)
|
- [How to Start](#how-to-start)
|
||||||
|
- [Quick Start](#quick-start)
|
||||||
- [Message Handling](#message-handling)
|
- [Message Handling](#message-handling)
|
||||||
* [Example #0 - System Calls](#add-some-system-calls-example-0---system-calls)
|
* [Example #0 - System Calls](#add-some-system-calls-example-0---system-calls)
|
||||||
|
|
||||||
@ -241,6 +242,28 @@ var tf = new TestForm();
|
|||||||
await this.NavigateTo(tf);
|
await this.NavigateTo(tf);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Quick Start:
|
||||||
|
|
||||||
|
|
||||||
|
When migrating from a previous version or starting completely new, all these options can be a bit overwhelming.
|
||||||
|
For this I added a QuickStart option, directly after the Create call. It just need basic parameters like in earlier versions.
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
//Prepare the System (New in V5)
|
||||||
|
var bb = BotBaseBuilder
|
||||||
|
.Create()
|
||||||
|
.QuickStart("{YOUR API KEY}", StartForm)
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
//Start your Bot
|
||||||
|
bb.Start();
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Message Handling
|
## Message Handling
|
||||||
|
|
||||||
All examples are within the test project, so just try it out on your own.
|
All examples are within the test project, so just try it out on your own.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user