Skip to content

replyToChat() function ignore topic (context of reply) #1461

Open
@povargek

Description

@povargek

🐞 Bug Report

Required Information

? !
Operating system Debian GNU/Linux 12 (bookworm)
PHP Telegram Bot version 0.81.0
PHP version 8.2.7
MySQL version none
Update Method Webhook
Self-signed certificate no

Summary

The function sends a message to the main topic, even if the message (bot command) is written in another topic

Current behaviour

The bot replies to the main topic of the group

How to reproduce

Create a bot, add bot to group chat with topics, trigger bot by command and non-main topic

Expected behaviour

The bot responds to the topic where the command was written

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions