Title: WVDevel Community Assistant for Telegram
Author: wvdevel
Published: <strong>19. august, 2026</strong>
Last modified: 21. oktober, 2026

---

Søg plugins

![](https://ps.w.org/wvdevel-community-assistant-telegram/assets/banner-772x250.
png?rev=3655070)

![](https://ps.w.org/wvdevel-community-assistant-telegram/assets/icon.svg?rev=3655070)

# WVDevel Community Assistant for Telegram

 Af [wvdevel](https://profiles.wordpress.org/wvdevel/)

[Download](https://downloads.wordpress.org/plugin/wvdevel-community-assistant-telegram.1.3.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wvdevel-community-assistant-telegram/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wvdevel-community-assistant-telegram/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wvdevel-community-assistant-telegram/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wvdevel-community-assistant-telegram/#developers)

 [Support](https://wordpress.org/support/plugin/wvdevel-community-assistant-telegram/)

## Beskrivelse

This plugin connects a Telegram bot to your WordPress site to support
 the community
or group you manage:

 * Validates every Telegram user against the plugin’s own database
    table (username,
   Telegram ID and an access code). The code is stored encrypted with AES-256-GCM(
   authenticated encryption) using the security keys from your own `wp-config.php`,
   and is managed from a screen in the WordPress admin, with no loose JSON files.
 * If a user is not validated, the bot does not reply at all -except
    for a single
   private notice the first time they write- so no information is exposed and no
   spam is generated.
 * In a group, the bot only replies if it is mentioned (@bot username,
    replying
   to one of its messages, or with a command directed at it). In private chats it
   always replies, to already validated users.
 * Includes configurable general commands: `/reglas`, `/horario`,
    /anuncios, `/
   recursos`, `/ayuda`, `/misdatos` -all editable from the WordPress admin, without
   touching code.
 * Optional “rules menu”: with it enabled, `/reglas` replies with an
    inline keyboard(
   one button per rule, plus “Ver todas”) instead of a plain text block. Works in
   private chats and in whitelisted groups. The rules are edited one per line, optionally
   as “Title | Detail”.
 * Includes moderation commands for administrators, private chat only:
    /validar,`/
   invalidar`, `/listar`, `/anunciar`, `/stats`.
 * “Mis recursos”: each validated user can have a _carnet_ (student/member
    code).
   Files uploaded per carnet from the “Recursos por usuario” admin screen are offered
   to that user -and only that user- when they send /recursos in a private chat:
   one button per file plus a “download all” button that sends a ZIP. The files 
   are stored in a private, web-inaccessible folder and are delivered straight to
   Telegram, never through a public URL.
 * “Entregas”: validated users can send a file to the bot in a private
    chat and
   have it stored on the server, filed under their carnet and a configurable delivery(
   assignment/task). Admins define each delivery (slug, label, optional file-name
   pattern, size limit and open window) from the “Entregas” screen and review or
   download the received files from “Entregas recibidas”. Files are kept in the 
   same private, web-inaccessible folder style as “Mis recursos” and are never opened
   by the bot.
 * Integrates an Ollama (conversational AI) client that is already
    built but disabled
   by default: once your Ollama server is ready, just enable the checkbox and set
   the URL/model in Settings. Until then the bot replies with a notice instead of
   failing.

#### Use cases

Built for any Telegram community that needs to moderate access and
 automate replies:
study groups, communities of practice, work teams, clubs or product support.

### External services

This plugin connects to the following external services to work:

 * **Telegram Bot API** (`https://api.telegram.org`) – required for the
    bot to 
   function. The plugin sends your bot token and the text messages exchanged with
   Telegram users (inbound and outbound) so it can receive and reply to messages
   via webhook. Subject to Telegram’s [Terms of Service](https://telegram.org/tos)
   and [Privacy Policy](https://telegram.org/privacy).
 * **Ollama** (URL you configure, typically your own server) – optional
    and disabled
   by default. If you enable it, the text of messages from validated users is sent
   to the URL you configure to generate an AI reply. No information is sent to any
   third-party server other than the one you specify in Settings.

#### Requirements

 * WordPress 5.8 or higher.
 * PHP 7.4 or higher, with the `openssl` extension enabled.
 * A site with valid HTTPS (Telegram does not accept webhooks over
    http://).
 * A bot created with @BotFather on Telegram.

## Installation

 1. Upload the full plugin folder to `wp-content/plugins/`, or zip its
     contents and
    use **Plugins -> Add New -> Upload Plugin** from the WordPress admin.
 2. Activate “WVDevel Community Assistant for Telegram” in **Plugins**.
     On activation,
    the required database tables and a random webhook secret are created automatically.
 3. Go to **Bot Telegram -> Ajustes** (Settings):
 4.  a. Paste the bot token (obtained from @BotFather) and save the
         settings. It is encrypted
        before being saved.
     b. Click “Configurar Webhook” to register your site with Telegram.
     c. Add the group ID under “Grupos permitidos” and your own Telegram
         ID under “IDs
        de administradores”.
     d. Edit the `/reglas`, `/horario`, `/anuncios` and `/recursos` texts
         with your community’s
        actual content.
 5. Go to **Bot Telegram -> Usuarios validados** and register each
     member (Telegram
    ID, username, name and access code). You can also do this from Telegram with `/
    validar [id] [codigo] [usuario] [nombre] in a private chat with the bot, once your
    ID is in the administrators list.
 6. (Optional) “Mis recursos” – personal files per member:
 7.  a. In **Bot Telegram -> Ajustes**, section “4. Mis recursos”,
         keep “Activar” checked(
        it is on by default), optionally edit the intro text and the per-file size limit.
     b. In **Bot Telegram -> Usuarios validados**, fill the **Carnet**
         field for each
        member (their student/member code). This is the key that links a person to their
        folder of files.
     c. In **Bot Telegram -> Recursos por usuario**, type a carnet and
         upload one or 
        more files for it. They are stored in a private folder inside `wp-content/uploads`
        that is not reachable from the web.
     d. The member writes `/recursos` in a **private** chat with the
         bot: after the general
        text they get a button per file (tap to download) and, if there are two or more,
        a “download all” button that sends a ZIP.
 8. (Optional, later) Enable Ollama in Settings once your server is
     running, providing
    its URL and the model to use.

## FAQ

### How does “Mis recursos” (personal files) work?

Assign a _carnet_ to a member under “Usuarios validados”, upload
 files for that
carnet under “Recursos por usuario”, and the member receives them by writing `/recursos`
in a private chat with the bot. Each file is a button; a “download all” button sends
a ZIP. It only works in private chats, never in the group.

### Where are the personal files stored? Are they public?

They are saved in `wp-content/uploads/wvdevel-mis-recursos-<random>/`,
 protected
with a “deny from all” `.htaccess`/`web.config` and an unguessable random folder
name. The plugin never exposes a public URL: it uploads each file straight to Telegram,
and only to the member whose carnet matches. Deleting the plugin removes the whole
folder.

### A member says /recursos does not show their files

Check that: the feature is enabled in Settings; the member has a
 **Carnet** set
that exactly matches the one used when uploading; there is at least one file for
that carnet; and they are writing `/recursos` in a **private** chat, not in the 
group.

### Do I need Ollama running to use the plugin?

No. The Ollama client is disabled by default. While it is off, the
 bot still validates
users and replies to the configured commands (`/reglas`, `/horario`, etc.); only
free-form natural language questions get a notice that AI is not configured yet.

### How do I get the numeric ID of the Telegram group?

Forward any message from the group to a bot such as @userinfobot, or
 check the 
first message the group sends to the bot after configuring the webhook (it appears
in the WordPress logs if something fails).

### Is it safe to store members’ access codes in the database?

The access code and the bot token are encrypted with AES-256-GCM
 (authenticated
encryption) using the `AUTH_KEY` / `SECURE_AUTH_KEY` keys from your own `wp-config.
php` before being saved. They are never stored in plain text or in loose files.

### Does the bot reply to every message in the group?

No. In a group it only replies if it is mentioned directly (@bot
 username, replying
to one of its messages, or with a command directed at it). Any other message in 
the group is completely ignored.

### Can I have more than one administrator?

Yes, add the Telegram IDs separated by commas under “IDs de
 administradores” in
Settings.

### What happens if I deactivate the plugin?

Nothing is deleted: the webhook, the settings and the validated users
 are kept.
They are only removed completely if you use **Plugins -> Delete**, which runs the
definitive cleanup of tables and settings.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“WVDevel Community Assistant for Telegram” er open source-software. Følgende personer
har bidraget til dette plugin.

Bidragsydere

 *   [ wvdevel ](https://profiles.wordpress.org/wvdevel/)

[Oversæt “WVDevel Community Assistant for Telegram” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wvdevel-community-assistant-telegram)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wvdevel-community-assistant-telegram/),
tjek [SVN repository](https://plugins.svn.wordpress.org/wvdevel-community-assistant-telegram/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wvdevel-community-assistant-telegram/)
via [RSS](https://plugins.trac.wordpress.org/log/wvdevel-community-assistant-telegram/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.3.0

 * New “Entregas” feature: validated users can send a file to the bot in a
    private
   chat and it is stored on the server under their carnet and the matching delivery.
   Admins define deliveries (slug, label, optional file-name pattern, size limit
   up to Telegram’s 20 MB download ceiling, open window) from a new “Entregas” screen
   and review/download received files from “Entregas recibidas”. Files are kept 
   in a private, web-inaccessible folder and the bot never opens or decrypts them.
   Adds the `wvdevel_deliveries` and wvdevel_submissions tables (applied automatically
   on update).

#### 1.2.0

 * New optional “rules menu”: with it enabled, `/reglas` answers with an
    inline
   keyboard (one button per rule, plus “Ver todas”) instead of the plain text block.
   Rules are edited one per line in Ajustes, optionally as “Title | Detail”.
 * `callback_query` handling now also covers whitelisted groups for the
    rules menu;
   the “Mis recursos” buttons stay private-chat only.

#### 1.1.0

 * New “Mis recursos” feature: per-carnet personal files. Adds a “carnet”
    field
   to validated users, a “Recursos por usuario” admin screen to upload/delete files
   per carnet, and extends `/recursos` so that in a private chat the bot also lists
   the user’s files with inline buttons (download one by one, or “download all” 
   as a ZIP).
 * Files are kept in an unguessable folder inside uploads, locked down
    with a Deny-
   from-all `.htaccess`/`web.config`, and are uploaded to Telegram via multipart-
   no public URL is ever exposed.
 * The bot now handles Telegram `callback_query` updates (inline button
    presses),
   restricted to private chats and validated users.
 * Uninstalling now also drops the `wvdevel_resources` table and removes
    the private
   resources folder.

#### 1.0.0

 * Initial release: encrypted user validation (AES-256-GCM), REST
    webhook protected
   with a secret_token, configurable general commands, private moderation commands,
   a message log screen with search and per-conversation deletion, an administrators
   screen, a broadcast screen for sending messages/attachments to validated users
   and/or allowed groups, and an Ollama client ready to be enabled.

## Meta

 *  Version **1.3.0**
 *  Senest opdateret **3 uger siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 5.8 eller højere **
 *  Testet op til **7.1.4**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wvdevel-community-assistant-telegram/)
 * Tags
 * [chatbot](https://da.wordpress.org/plugins/tags/chatbot/)[community](https://da.wordpress.org/plugins/tags/community/)
   [moderation](https://da.wordpress.org/plugins/tags/moderation/)[ollama](https://da.wordpress.org/plugins/tags/ollama/)
   [telegram](https://da.wordpress.org/plugins/tags/telegram/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wvdevel-community-assistant-telegram/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/wvdevel-community-assistant-telegram/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/wvdevel-community-assistant-telegram/reviews/)

## Bidragsydere

 *   [ wvdevel ](https://profiles.wordpress.org/wvdevel/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wvdevel-community-assistant-telegram/)