tgcalls
302 subscribers
16 photos
31 links
Incoming, outgoing and video calls, voice chats in Telegram for users and developers. Information about chats, bots and libs.

https://github.com/tgcalls
Download Telegram
to view and join the conversation
Bot API was update to 5.1

Added some information for voice chats 🥳

- Added the type VoiceChatStarted and the field voice_chat_started to the class Message.
- Added the type VoiceChatEnded and the field voice_chat_ended to the class Message.
- Added the type VoiceChatParticipantsInvited and the field voice_chat_participants_invited to the class Message.
- Added the new administrator privilege can_manage_voice_chats to the class ChatMember and parameter can_manage_voice_chats to the method promoteChatMember. For now, bots can use this privilege only for passing to other administrators.

https://core.telegram.org/bots/api-changelog#march-9-2021
Some last updates of pytgcalls 🚀

- Stability increased significantly.
- Improved sound quality as much as possible.
- System of handlers:
- NETWORK_STATUS_CHANGED.
- PLAYOUT_ENDED.
- Ability to enable/disable endless playing of file.
- Volume control.
- Pause and resume of playout and recording.
- New examples, bugfixes and more…

Documentation: https://tgcalls.org/
GitHub: https://github.com/MarshalX/tgcalls
This media is not supported in the widget
VIEW IN TELEGRAM
Channel photo updated
Voice Chats 2.0

- Limitless Voice Chats
- Recorded Chats
- Raise Hand
- Speaker and Listener Links
- Join As channel/chat

And more https://telegram.org/blog/voice-chats-on-steroids 🔥
This media is not supported in your browser
VIEW IN TELEGRAM
pytgcalls updated. Now it supports pyrogram 1.2.0

pytgcalls notes: join as channel/chat, example of recorder smart plugin, new version of lib with many fixes by Telegram.
pyrogram notes: layer 126, voice chats 2.0 support and more.

pip install pytgcalls -U ❤️

Join as channel it so simple!

group_call.start(‘@tgcallschat’, join_as=‘@tgcallslib’)
Awesome Telegram Calls

The repository contains useful information for Telegram users who is looking for chats with music, libraries, userbots and bots for working with calls!

Feel free to improve this list by adding yours projects and chats with music!

If you are a developer, you can join the organization as a member.

https://github.com/tgcalls/awesome-tgcalls

I'm waiting for your pull requests ❤️
tgcalls pinned «Awesome Telegram Calls The repository contains useful information for Telegram users who is looking for chats with music, libraries, userbots and bots for working with calls! Feel free to improve this list by adding yours projects and chats with music!…»
pytgcalls updated. Work with audio data in bytes directly from Python!

- New GroupCallRaw class.
New handlers:
- on_played_data
- on_recorded_data
- New example of restreaming one voice chat to anothe one.
- Support of invite (speaker) links.
- New join, reconnect and stop system.
- Update and test MacOS build instruction for M1.
- Fix issue with null fields in network changed handlers.
- Fix behavior on group call discard.
- Fix properly stop of client.
- Fix disabling logging to file.

Happy codding ❤️ Put your star on GitHub to appreciation!
Don't forget to add your projects to our awesome list!
Scheduled Voice Chats, Voice Chat Reminder, Mini Profiles for Voice Chats

Admins of groups and channels can now schedule a Voice Chat for a particular date and time instead of creating one right away. This gives community members time to let their friends know and get the popcorn ready.

Bot API 5.2, Payments 2.0, New Web Versions and more...
This media is not supported in your browser
VIEW IN TELEGRAM
Video streaming for Voice Chats in the next Telegram update!

It will be possible to broadcast not only the camera, but also the screen capture! Source: Durov’s post

Should I add the ability to stream video for pytgcalls?)
pytgcalls updated. Added macOS wheels and the last data source — devices

Available sources of input/output data transfers:
- File (playout example, recording example) — to use any audio files including named pipe (FIFO).
- Device (example) — to use microphone, headphones, etc.
- Raw (example) — to send and receive data in bytes directly from Python.

Available macOS wheels:
- Intel. Sierra+, Python 3.6-3.9.
- Apple Silicon (M1). Big Sur, Python 3.9.

Feel free to contribute into GitHub workflow for building wheels for Windows. The biggest part are already ready. More info here

Удачи ❤️
Group video calls almost here!

Screen sharing, video from camera and video pins. Available in macOS beta, @macswift chat

More high-resolution screenshots in comments
In the next update, it will be possible to disable audio processing!

This has long been done in the MarshalX/tgcalls library, but is now available in the official macOS beta client. That allows you to stream audio in good quality through a virtual device. The bitrate still cannot be controlled.
Testing video calls in chats

Previously, the ability to test video calls on beta versions of clients was only possible in two chats: Unigram and macOS.

Now this opportunity has appeared in the @tgcallschat

To enable video calls in your chat you need to add the hashtag #vid to the title of your voice chat. Only available on beta clients with video calls support!

Currently, video chats are supported in beta versions of Unigram and macOS clients.
Video calls will be limited by 30 participants at first release

More people won't be able to watch video broadcasts or turn on their stream 🤷

Source: https://t.me/betainfo/672
This media is not supported in your browser
VIEW IN TELEGRAM
Telegram fixed a new type of spam via invitations to voice chat

There were 2 main problems with MTProto phone.InviteToGroupCall method:
1. The server did’t limit the count and frequency of sent requests in any way. These led to sending a large count of service messages to the chat in one second.
2. Restriction by invitation of the same person was not implemented on the server side. Which allowed to invite one person a thousand times.

After reporting these issues tonight, they were resolved. Corresponding errors have appeared
1. [420 FLOOD_WAIT_X]: A wait of 48 seconds is required (caused by "phone.InviteToGroupCall")
2. [400 Bad Request]: [400 USER_ALREADY_INVITED] (caused by "phone.InviteToGroupCall)

Due to the count of invites I sent during the test, workers of Telegram servers went to restart 🤷

Historical chat with my tests: @zazivala (30k+ msg)
RU posts: #1, #2, #3