Код в мешке
252 subscribers
9.17K photos
1.62K videos
2.11K files
43.4K links
Код в мешке - про кодинг, и не только...
Это личная записная книжка

https://t.me/joinchat/AAAAAEIy6oGlr8oxqTMS5w
Download Telegram
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, 
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.
magnet:?xt=urn:btih:53AB391BCD9B533BB452EEA35508A00287E0CA48&tr=http://bt2.t-ru.org/ann?magnet
Forwarded from Deleted Account
Adobe After Effects CC 2019 (16.0.0.235) Portable by XpucT.exe
875.7 MB
Adobe After Effects CC 2019 (16.0.0.235) Portable by XpucT.exe
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
downloadRenameBot.php
7.3 KB
FREEBIES

Here's a fully parallelized file rename + URL download bot based on MadelineProto.

Max file size: 1.5GB

A working instance can be found here: @pwrtelegrambot
Forwarded from PWRTelegram API channel (Andrea.)
The PWRTelegram app has been updated!

Features:
-
skip (private) messages download (add :f after token)

Fixes:
-
chat gallery
- scroll photos
- channels randomly disappear
- private chats with more than 100 messages do not load

Release Notes:
-
now is based on telegram 5.10
- some internal functions have been
rewrited to be more efficient with bots


source code: https://bit.ly/2lwO0um
apk: https://bit.ly/2kulsBB
Forwarded from 🪂
Кто шарит, в телеграме есть боты, которая кидают посты из различных групп ВК? Можно ли будет авторизоваться или токен подкинуть, чтоб просмотреть посты с закрытых групп?
Forwarded from V͇ I͇ P͇ ۩ Ďęмøņ ۩͇ V͇ I͇ P͇ ĎERѮЌЇЙ_ГорДӹй Хуλϟгɑн_฿Ø$$_ӤḾगĒҎȺ₮ŐҎ_ĶŖ∀$∀℣ЧИ₭
такого знаю, с закрытыми группами не проверял, но через токен авторизоваться можно
@MyLittlePosterBot
Forwarded from V͇ I͇ P͇ ۩ Ďęмøņ ۩͇ V͇ I͇ P͇ ĎERѮЌЇЙ_ГорДӹй Хуλϟгɑн_฿Ø$$_ӤḾगĒҎȺ₮ŐҎ_ĶŖ∀$∀℣ЧИ₭
1. создаёшь своего бота в botfather и добавляешь его токен
2. добавляешь свой vk token
3. теперь переходишь в своего бота
4. добавляешь уже в своём боте группы, на которые хочешь подписаться
5. создаёшь новый, открытый канал, в который добавляешь своего бота
6. добавляешь канал в самого бота
Forwarded from 🪂
Мой бот не отвечает, в чём может быть дело?
Forwarded from 🪂
Мб в этом?
Forwarded from 🪂
Кто-нибудь может мне подсказать альтернативы vkonline.info?
Forwarded from Michael
Forwarded from Sergey️
Можете использовать @tgvkbot
Forwarded from Michael
короче сделай группу туда засунь бота и скажи ему работать с каким-то контактом - привязать чат
Forwarded from Michael
а потом кидай что нужно этому контакту
Forwarded from Michael
бот автоматом отсылает строго этому контакту. Таким несложным макаром можно сделать несколько групп для нескольких людей и дальше массовая рассылка :)
Forwarded from 🪂
Сразу флудблок дадут за слишком частые запросы
Forwarded from Michael
создать группу. добавит туда бота, дать админа, Ну и через меню бота
Forwarded from Kostya
А можно где-нибудь узнать, без Docker бот может работать?
Forwarded from Кирилл
ставишь все из requirements и запускаешь бота и вебхуки. Но докер проще, да