telegramlib.write

telegramlib.write()[source]

Sends a message to a specified user from the admin.

This function allows the admin to send a custom message to any user. It takes the user ID (or ‘all’) and the message text as arguments.

Example

/write <user_id> Hello! How are you?