> For the complete documentation index, see [llms.txt](https://homakz93.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homakz93.gitbook.io/documentation/master.md).

# Quickstart

Quick guide to start with KworkClient

### Example - first bot

```csharp
using System;
using Kwork;

namespace MyBot
{
    class Program
    {
        public static KworkClient client = new KworkClient(Login: "<KworkLogin>", Password: "<KworkPassword>", (optional)LastPhone: "<KworkPhone(without +)>");

        static void Main(string[] args)
        {
            client.OnMessage += NewMsg;
            client.StartReceiving();

            Console.WriteLine("Press any key for exit...");
            Console.ReadKey();
        }
        public static void NewMsg(Kwork.Types.Updates.KworkUpdateNewInbox msg)
        {
            client.SendMessage(user_id: msg.from, text: "Do you need a bot?\nYou can look at examples of already done:)");
        }
    }
}

```
