Skip to content

Commit

Permalink
Update to MTKruto 0.2.30
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Jul 7, 2024
1 parent 5716a04 commit 98a832b
Show file tree
Hide file tree
Showing 14 changed files with 206 additions and 677 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
# MTKruto Server

MTKruto Server is a server for running Telegram clients (whether they are bots
or user accounts) with ability to interact with them remotely through its HTTP
interface.
MTKruto Server is a server for running Telegram clients (whether they are bots or user accounts) with ability to interact with them remotely through its HTTP interface.

## Documentation

The documentation for MTKruto Server resides [here](https://mtkru.to/server/).

## Contributing

Useful contributions of any kind is warmly accepted, so feel free to make pull
requests!
Useful contributions of any kind is warmly accepted, so feel free to make pull requests!

## Support

Join [our chat](https://mtkruto.t.me) if you had any questions.

## Legal

MTKruto Server is released under the GNU Affero General Public License version
3, or at your option, any later version. Refer to [COPYING](./COPYING) for the
full license text.
MTKruto Server is released under the GNU Affero General Public License version 3, or at your option, any later version. Refer to [COPYING](./COPYING) for the full license text.
15 changes: 4 additions & 11 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# MTKruto Server Client for JavaScript

This is a JavaScript client for MTKruto Server that is mostly compatible with
[MTKruto](https://mtkru.to)’s
[`Client`](https://jsr.io/@mtkruto/mtkruto/doc/~/Client) class.*
This is a JavaScript client for MTKruto Server that is mostly compatible with [MTKruto](https://mtkru.to)’s [`Client`](https://jsr.io/@mtkruto/mtkruto/doc/~/Client) class.*

It can run almost anywhere JavaScript runs, including serverless platforms like
Deno Deploy, Cloudflare Workers, and more.
It can run almost anywhere JavaScript runs, including serverless platforms like Deno Deploy, Cloudflare Workers, and more.

## Migrating from MTKruto

### `connect()` and `authorize()`

The `Client` class of this module does not have these methods, since it is
neither required to make a connection initially, nor to authorize.
The `Client` class of this module does not have these methods, since it is neither required to make a connection initially, nor to authorize.

### Telegram API Calls

Expand Down Expand Up @@ -42,7 +38,4 @@ const pong = await client.invoke({
---
<sub>*Only the
[`invoke()`](https://jsr.io/@mtkruto/mtkruto/doc/~/Client#property_invoke)
method is not backwards-compatible, which is for good—it _significantly_ reduces
the bundle size. All of its functionality is persisted.</sub>
<sub>*Only the [`invoke()`](https://jsr.io/@mtkruto/mtkruto/doc/~/Client#property_invoke) method is not backwards-compatible, which is for good—it _significantly_ reduces the bundle size. All of its functionality is persisted.</sub>
Loading

0 comments on commit 98a832b

Please sign in to comment.