Skip to content

Commit

Permalink
Update group calls example and fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarnathCJD committed Apr 16, 2024
1 parent d0dd0a3 commit 73c4bc3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions examples/tgcalls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
<h1>Telegram Group Calls Example</h1>
</div>

## TGCalls
## Group Calls Example

> A demonstration of Telegram Group Calls with gogram using [NtgCalls](https://github.com/pytgcalls/ntgcalls) core.
### Instructions

### Get Started
Make sure a c compiler is installed on your system. For Windows, you can use MinGW or MSVC. For Unix-based systems, you can use GCC or Clang.

To get started, download the latest Shared Libraries:
- [libtgcalls.so](https://envs.sh/tsh.so) (for Unix-based systems)
- [libtgcalls.dll](https://envs.sh/tsd.dll) (for Windows)
- [Builds](https://github.com/pytgcalls/ntgcalls/releases) (for other platforms)

Copy the downloaded Shared Library to the root directory of this example folder.

Download the header file:
- [tgcalls.h](https://envs.sh/ts2.h)
```bash
# cd to the root directory of the example folder

Copy the downloaded header file to the root directory of this example folder.
# Download the latest Shared Libraries:
wget -O libtgcalls.so https://envs.sh/tsh.so # for Unix-based systems
wget -O libtgcalls.dll https://envs.sh/tsd.dll # for Windows
# For other platforms, download from: https://github.com/pytgcalls/ntgcalls/releases

```bash
# Download the header file:
wget -O tgcalls.h https://envs.sh/ts2.h

### Running the Example

```bash
# Assuming you are in the root directory of the example folder:
go run .
```

### Credits

- [NTGCalls](https://github.com/pytgcalls/ntgcalls)
This example utilizes NtgCalls, an open-source project available on GitHub

- **Project Repository:** [NtgCalls](https://github.com/pytgcalls/ntgcalls)


0 comments on commit 73c4bc3

Please sign in to comment.