update readmes

This commit is contained in:
2026-08-21 15:51:06 +06:00
parent 016400a821
commit ce48393895
104 changed files with 2615 additions and 333 deletions

View File

@@ -20,6 +20,16 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.currentCoroutineContext
/**
* Starts the shared long-polling resender and suspends until polling stops.
*
* Eligible content is recreated in its source chat with reply/quote metadata and
* message effects preserved. Business messages sent by the business-connection
* owner are skipped.
*
* @param token bot token used for polling and API requests.
* @param print output callback for bot information and resend diagnostics.
*/
suspend fun activateResenderBot(
token: String,
print: (Any) -> Unit

View File

@@ -4,6 +4,10 @@ import org.w3c.dom.*
private val scope = CoroutineScope(Dispatchers.Default)
/**
* Installs the browser token form and starts one resender for each submission.
* Callback output from each instance is displayed in its associated page element.
*/
fun main() {
document.addEventListener(
"DOMContentLoaded",