Forwarded from An (PartyGuy) ο’
Write "pizza" to @pizzaBio and the counter in his Bio goes up π
Forwarded from v
lol
Forwarded from v
best bot
PWRTelegram quality ππππππππππππππ¦π¦π¦
Forwarded from MadelineProto | Official Channel (Daniil Gentili [ p o n y a e s t h e t i c ])
MadelineProto now has nice TL stack traces, less memory usage, and better dialog list fetching!
Run
php-libtgvoip also has nice stack traces now, run
If you have any problems, do write @pwrtelegramgroup
Run
git pull && composer update in the MadelineProto repo ASAP, old instances of MadelineProto will throw "Please update MadelineProto" exceptions.php-libtgvoip also has nice stack traces now, run
git pull && git submodule init && git submodule update && git submodule sync && make && sudo make install in the php-libtgvoip repo (run git clone --recursive https://github.com/danog/php-libtgvoip && cd php-libtgvoip && make && sudo make install) note that you must now install binutils-dev in order to compile the backward-cpp module that provides stack traces.If you have any problems, do write @pwrtelegramgroup
Forwarded from Daniil Gentili
MadelineProto can now make phone calls!
It does that thanks to the \danog\MadelineProto\VoIP class, which is a wrapper for grishka's awesome library.
See https://daniil.it/MadelineProto/#calls for installation instructions.
The VoIP class has methods for:
* playing audio files in calls
* playing files on hold (when there are no files left to play)
* setting the audio output file
accepting incoming calls
* discarding calls
* setting a rating for completed calls
* getting the emoji visualization of the encryption key
* fetching the configuration needed to encode/decose audio files (usually it's always 16 bit signed linear PCM with a sample rate of 48 kHz and one channel)
* and much more! See https://daniil.it/MadelineProto/API_docs/types/PhoneCall.html
Input/output audio can be converted from/to any audio/video file using ffmpeg (just donβt forget to provide the correct number of channels, sample rate and bit depth,
).
You can also stream the audio track of video streams (even from youtube), or audio streams. Just stream the data to a FIFO, and use ffmpeg to output the converted audio to another FIFO that will be used as input file.
To make a call, use the request_call method: it accepts one parameter with the ID of the person to call, and returns a VoIP object.
Accepting calls is just as easy: you will receive an updatePhoneCall (https://daniil.it/MadelineProto/API_docs/constructors/updatePhoneCall.html) object from your update source (see update handling), and you will simply have to call
See https://daniil.it/MadelineProto/#calls for more info.
It does that thanks to the \danog\MadelineProto\VoIP class, which is a wrapper for grishka's awesome library.
See https://daniil.it/MadelineProto/#calls for installation instructions.
The VoIP class has methods for:
* playing audio files in calls
* playing files on hold (when there are no files left to play)
* setting the audio output file
accepting incoming calls
* discarding calls
* setting a rating for completed calls
* getting the emoji visualization of the encryption key
* fetching the configuration needed to encode/decose audio files (usually it's always 16 bit signed linear PCM with a sample rate of 48 kHz and one channel)
* and much more! See https://daniil.it/MadelineProto/API_docs/types/PhoneCall.html
Input/output audio can be converted from/to any audio/video file using ffmpeg (just donβt forget to provide the correct number of channels, sample rate and bit depth,
ffmpeg -i anyaudioorvideo -f s"$bitnumber"le -ac $channelNumber -ar $bitRate -acodec pcm_s"$bitnumber"le output.raw
).
You can also stream the audio track of video streams (even from youtube), or audio streams. Just stream the data to a FIFO, and use ffmpeg to output the converted audio to another FIFO that will be used as input file.
To make a call, use the request_call method: it accepts one parameter with the ID of the person to call, and returns a VoIP object.
Accepting calls is just as easy: you will receive an updatePhoneCall (https://daniil.it/MadelineProto/API_docs/constructors/updatePhoneCall.html) object from your update source (see update handling), and you will simply have to call
accept() to accept the call.See https://daniil.it/MadelineProto/#calls for more info.
docs.madelineproto.xyz
Async PHP client API for the telegram MTProto protocol
Forwarded from MadelineProto | Official Channel (Daniil Gentili @magnaluna webradio)
@magnaluna now has lotsa more groovy swing songs! :D
P.S. The order is chosen randomly, so if you don't want to wait for the current song to end, you can simply recall the webradio to listen to another song!
P.S. The order is chosen randomly, so if you don't want to wait for the current song to end, you can simply recall the webradio to listen to another song!
Forwarded from MadelineProto | Official Channel (Daniil Gentili @magnaluna webradio)
Fixed emoji key verification, use $controller->getVisualization() to fetch it (see https://daniil.it/MadelineProto/API_docs/constructors/updatePhoneCall.html -> phone_call) for more info.
Also, made some important fixes to php-libtgvoip, please update both MadelineProto and libtgvoip.
@magnaluna now sends you the verification emojis when the call gets accepted!
Also, made some important fixes to php-libtgvoip, please update both MadelineProto and libtgvoip.
@magnaluna now sends you the verification emojis when the call gets accepted!
MadelineProtoDocs
updatePhoneCall
Update phone call
Forwarded from MadelineProto | Official Channel (Daniil Gentili @magnaluna webradio)
Twitter
Daniil Gentili
MadelineProto can now handle telegram VoIP calls: https://t.co/DYa8ZEuEJC, call @magnaluna to listen to some swing! @durov @telegram
Forwarded from MadelineProto | Official Channel (Daniil Gentili @magnaluna webradio)
Forwarded from MadelineProto | Official Channel (Daniil Gentili @magnaluna webradio)
reddit
Telegram VoIP library
Posted in r/Telegram by u/danogentili β’ 9 points and 2 comments
C'mon, callstorm @magnaluna :D
Try making a call, closing it, and the recalling, multiple times. I'm just doing some load testing :D
OK, thanks! I found and fixed a small bug! Let's do that one more time, all together now!
Remember, call it multiple times