diff --git a/NTgCalls/Advanced Methods/ntg_calls.xml b/NTgCalls/Advanced Methods/ntg_calls.xml
index ff925a7..e12e828 100644
--- a/NTgCalls/Advanced Methods/ntg_calls.xml
+++ b/NTgCalls/Advanced Methods/ntg_calls.xml
@@ -8,7 +8,7 @@
The function populates this list with data for active group calls and returns the number of group calls retrieved.
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Advanced Methods/ntg_calls_count.xml b/NTgCalls/Advanced Methods/ntg_calls_count.xml
index 533d8de..fd30c0c 100644
--- a/NTgCalls/Advanced Methods/ntg_calls_count.xml
+++ b/NTgCalls/Advanced Methods/ntg_calls_count.xml
@@ -4,7 +4,7 @@
This function returns the number of active group calls that NTgCalls is connected to.
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Advanced Methods/ntg_get_state.xml b/NTgCalls/Advanced Methods/ntg_get_state.xml
index 82049a0..c6e4b45 100644
--- a/NTgCalls/Advanced Methods/ntg_get_state.xml
+++ b/NTgCalls/Advanced Methods/ntg_get_state.xml
@@ -2,7 +2,7 @@
ntg_get_state
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Basic Methods/Connect.xml b/NTgCalls/Basic Methods/Connect.xml
index 48bd20d..bf8c206 100644
--- a/NTgCalls/Basic Methods/Connect.xml
+++ b/NTgCalls/Basic Methods/Connect.xml
@@ -2,7 +2,7 @@
Connect
Example
-
+
from ntgcalls import NTgCalls
...
diff --git a/NTgCalls/Basic Methods/Create Call.xml b/NTgCalls/Basic Methods/Create Call.xml
index 0914b02..cc6dc71 100644
--- a/NTgCalls/Basic Methods/Create Call.xml
+++ b/NTgCalls/Basic Methods/Create Call.xml
@@ -2,7 +2,7 @@
Create Call
Example
-
+
from ntgcalls import NTgCalls
...
diff --git a/NTgCalls/Basic Methods/ntg_connect.xml b/NTgCalls/Basic Methods/ntg_connect.xml
index 6fa7e44..0ea179e 100644
--- a/NTgCalls/Basic Methods/ntg_connect.xml
+++ b/NTgCalls/Basic Methods/ntg_connect.xml
@@ -2,7 +2,7 @@
ntg_connect
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Basic Methods/ntg_get_params.xml b/NTgCalls/Basic Methods/ntg_get_params.xml
index 6d14718..36fa203 100644
--- a/NTgCalls/Basic Methods/ntg_get_params.xml
+++ b/NTgCalls/Basic Methods/ntg_get_params.xml
@@ -2,7 +2,7 @@
ntg_get_params
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Basic Methods/ntg_stop.xml b/NTgCalls/Basic Methods/ntg_stop.xml
index 7fe0329..1980d89 100644
--- a/NTgCalls/Basic Methods/ntg_stop.xml
+++ b/NTgCalls/Basic Methods/ntg_stop.xml
@@ -2,7 +2,7 @@
ntg_stop
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Callbacks.xml b/NTgCalls/Callbacks.xml
index 94baf0e..ea364c3 100644
--- a/NTgCalls/Callbacks.xml
+++ b/NTgCalls/Callbacks.xml
@@ -11,13 +11,13 @@
Example
-
+
...
app = NTgCalls()
...
def handler(chat_id: int, update: StreamType):
print(chat_id, update)
- ...
+ ...
app.on_stream_end(handler)
@@ -28,13 +28,13 @@
Example
-
+
...
app = NTgCalls()
...
def handler(chat_id: int, update: MediaState):
print(chat_id, update)
- ...
+ ...
app.on_upgrade(handler)
diff --git a/NTgCalls/Getting Started.xml b/NTgCalls/Getting Started.xml
index 0d748e7..89d44e8 100644
--- a/NTgCalls/Getting Started.xml
+++ b/NTgCalls/Getting Started.xml
@@ -63,7 +63,7 @@
Example
-
+
#include "ntgcalls.h"
#include <stdio.h>
diff --git a/NTgCalls/Stream Methods/Change Stream.xml b/NTgCalls/Stream Methods/Change Stream.xml
index c2f42e0..d380e85 100644
--- a/NTgCalls/Stream Methods/Change Stream.xml
+++ b/NTgCalls/Stream Methods/Change Stream.xml
@@ -2,7 +2,7 @@
Change Stream
Example
-
+
from ntgcalls import NTgCalls
...
diff --git a/NTgCalls/Stream Methods/ntg_change_stream.xml b/NTgCalls/Stream Methods/ntg_change_stream.xml
index 7784381..c579bc8 100644
--- a/NTgCalls/Stream Methods/ntg_change_stream.xml
+++ b/NTgCalls/Stream Methods/ntg_change_stream.xml
@@ -2,7 +2,7 @@
ntg_change_stream
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Stream Methods/ntg_mute.xml b/NTgCalls/Stream Methods/ntg_mute.xml
index f5a951c..a98acbf 100644
--- a/NTgCalls/Stream Methods/ntg_mute.xml
+++ b/NTgCalls/Stream Methods/ntg_mute.xml
@@ -2,7 +2,7 @@
ntg_mute
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Stream Methods/ntg_pause.xml b/NTgCalls/Stream Methods/ntg_pause.xml
index d07a2a3..95f1eb6 100644
--- a/NTgCalls/Stream Methods/ntg_pause.xml
+++ b/NTgCalls/Stream Methods/ntg_pause.xml
@@ -2,7 +2,7 @@
ntg_pause
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Stream Methods/ntg_resume.xml b/NTgCalls/Stream Methods/ntg_resume.xml
index 7235693..5e7c8f6 100644
--- a/NTgCalls/Stream Methods/ntg_resume.xml
+++ b/NTgCalls/Stream Methods/ntg_resume.xml
@@ -2,7 +2,7 @@
ntg_resume
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Stream Methods/ntg_time.xml b/NTgCalls/Stream Methods/ntg_time.xml
index 0c35dbc..e6c1d59 100644
--- a/NTgCalls/Stream Methods/ntg_time.xml
+++ b/NTgCalls/Stream Methods/ntg_time.xml
@@ -2,7 +2,7 @@
ntg_time
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/NTgCalls/Stream Methods/ntg_unmute.xml b/NTgCalls/Stream Methods/ntg_unmute.xml
index b3a1b5b..12da3dd 100644
--- a/NTgCalls/Stream Methods/ntg_unmute.xml
+++ b/NTgCalls/Stream Methods/ntg_unmute.xml
@@ -2,7 +2,7 @@
ntg_unmute
Example
-
+
#include <stdint.h>
#include "ntgcalls.h"
diff --git a/PyTgCalls/Basic Methods/Start.xml b/PyTgCalls/Basic Methods/Start.xml
index e01ad5f..c53a38e 100644
--- a/PyTgCalls/Basic Methods/Start.xml
+++ b/PyTgCalls/Basic Methods/Start.xml
@@ -12,7 +12,7 @@
... # Call API decorators / MTProto decorators
- app.run()
+ app.start()
Details
diff --git a/PyTgCalls/Custom Api.xml b/PyTgCalls/Custom Api.xml
index 50b3d6f..191bf30 100644
--- a/PyTgCalls/Custom Api.xml
+++ b/PyTgCalls/Custom Api.xml
@@ -7,7 +7,7 @@
This page is about the CustomAPI class, which exposes high-level methods for easy access to the API.
Example
-
+
from pytgcalls import CustomApi
api = CustomApi()
diff --git a/PyTgCalls/Decorators.xml b/PyTgCalls/Decorators.xml
index ccaaefb..d95acb3 100644
--- a/PyTgCalls/Decorators.xml
+++ b/PyTgCalls/Decorators.xml
@@ -155,7 +155,7 @@
You have set too many decorators.
Example
-
+
...
webserver = CustomApi(client)
...
diff --git a/PyTgCalls/Media Devices.xml b/PyTgCalls/Media Devices.xml
index eeb582f..8b54ea3 100644
--- a/PyTgCalls/Media Devices.xml
+++ b/PyTgCalls/Media Devices.xml
@@ -5,7 +5,7 @@
This functionality proves valuable when you intend to stream content from either your screen or microphone.
Example
-
+
from pytgcalls import Client
from pytgcalls import idle
from pytgcalls.media_devices import MediaDevices