Ждуны CUAET Общалка
-
MadelineProto now offers a simple broadcast API, that can be used to asynchronously broadcast messages to all users of a bot or userbot in the background, without incurring in timeouts or other issues. Note that unlike the bot API, MadelineProto can be used to fetch the full list of users, chats and channels of a normal bot, simply using its bot token. Here's a simple example, explaining how to broadcast a message and a photo to every user of a bot: start(); $id = $MadelineProto->broadcastMessages([ ['message' => 'This broadcast is powered by @MadelineProto!'], ['message' => 'This media broadcast is powered by @MadelineProto!', 'media' => [ '_' => 'inputMediaUploadedPhoto', 'file' => 'docs.madelineproto.xyz/logo-hover.png' ]], ]); Here's a simplified example, just for bots: botLogin('1234:token'); $id = $MadelineProto->broadcastMessages([ ['message' => 'This broadcast is powered by @MadelineProto!'], ['message' => 'This media broadcast is powered by @MadelineProto!', 'media' => [ '_' => 'inputMediaUploadedPhoto', 'file' => 'docs.madelineproto.xyz/logo-hover.png' ]], ]); You can also forward messages: // Send messages, showing the "Forwarded from" header $id = $MadelineProto->broadcastForwardMessages( from_peer: 101374607, message_ids: [1, 2, 3, 4], drop_author: false, ); // Send messages WITHOUT showing the "Forwarded from" header $id = $MadelineProto->broadcastForwardMessages( from_peer: 101374607, message_ids: [1, 2, 3, 4], drop_author: true, ); The methods return an integer ID that can be used to: - Get the current broadcast progress with getBroadcastProgress - Cancel the broadcast using cancelBroadcast Note that to avoid manually polling the progress, MadelineProto will also periodically emit updateBroadcastProgress updates to the event handler, containing a Progress object for all broadcasts currently in-progress. Also note that the process may take even hours to start, so please be patient. Filtering is also available, as well as support for custom broadcast actions. See here » for a full example of the broadcast API, and here » for the full documentation.
-
MadelineProto was updated (8.0.0-beta80)! Features: - Introducing a new broadcasting API! - You can now specify a custom serializer type for your ORM properties (one of the variants of the SerializerType enum, or null to choose the best serializer automatically (the default)). Fixes: - The documentation was updated, including human-readable descriptions for the latest layer. - Postgres now uses the new BYTEA amphp APIs - Multiple fixes and improvements.
-
MadelineProto now offers a simple broadcast API, that can be used to asynchronously broadcast messages to all users of a bot or userbot in the background, without incurring in timeouts or other issues. Note that unlike the bot API, MadelineProto can be used to fetch the full list of users, chats and channels of a normal bot, simply using its bot token. Here's a simple example, explaining how to broadcast a message and a photo to every user of a bot: start(); $id = $MadelineProto->broadcastMessages([ ['message' => 'This broadcast is powered by @MadelineProto!'], ['message' => 'This media broadcast is powered by @MadelineProto!', 'media' => [ '_' => 'inputMediaUploadedPhoto', 'file' => 'docs.madelineproto.xyz/logo-hover.png' ]], ]); Here's a simplified example, just for bots: botLogin('1234:token'); $id = $MadelineProto->broadcastMessages([ ['message' => 'This broadcast is powered by @MadelineProto!'], ['message' => 'This media broadcast is powered by @MadelineProto!', 'media' => [ '_' => 'inputMediaUploadedPhoto', 'file' => 'docs.madelineproto.xyz/logo-hover.png' ]], ]); You can also forward messages: // Send messages, showing the "Forwarded from" header $id = $MadelineProto->broadcastForwardMessages( from_peer: 101374607, message_ids: [1, 2, 3, 4], drop_author: false, ); // Send messages WITHOUT showing the "Forwarded from" header $id = $MadelineProto->broadcastForwardMessages( from_peer: 101374607, message_ids: [1, 2, 3, 4], drop_author: true, ); The methods return an integer ID that can be used to: - Get the current broadcast progress with getBroadcastProgress - Cancel the broadcast using cancelBroadcast Note that to avoid manually polling the progress, MadelineProto will also periodically emit updateBroadcastProgress updates to the event handler, containing a Progress object for all broadcasts currently in-progress. Also note that the process may take even hours to start, so please be patient. Filtering is also available, as well as support for custom broadcast actions. See here » for a full example of the broadcast API, and here » for the full documentation.
-
MadelineProto was updated (8.0.0-beta80)! Features: - Introducing a new broadcasting API! - You can now specify a custom serializer type for your ORM properties (one of the variants of the SerializerType enum, or null to choose the best serializer automatically (the default)). Fixes: - The documentation was updated, including human-readable descriptions for the latest layer. - Postgres now uses the new BYTEA amphp APIs - Multiple fixes and improvements.
-
This broadcast is powered by @MadelineProto!
-
Читаем и о.уеваем
-
Ждём свежую порцию кринжа )
-
Если это велосипед "Украина" тогда конечно стоит заняться этим
-
нема, весь фейсбук прогортала і нічо нема(( шо всі здоровий глузд спіткали чи шо
-
нема коли хуйню генерити і по чатікам постити😢
-
мабуть всі в ступорі після новин про угнанний гелікоптер, підірванного пригожина і оце все
-
та це таке. Де ті старі часи коли люди дводили що дитина до 14 років може летіти в канаду без візи
-
Мне повезло,я живу далеко от центра,поэтому диванного патриотизма не наблюдаю вживую