telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.42k stars 5.25k forks source link

[Question] Why aren't Bot commands displayed in my group? #25027

Open moshaoli688 opened 2 years ago

moshaoli688 commented 2 years ago

Why aren't Bot commands displayed in my group?? It is normal for the same bots to be added to other groups. However, the BOT commands never show up properly in my group。 However, using the third party client UNIGRAM can display the command of BOT in my group normally. Mobile APP can also display BOT commands normally. But official Telegram customers cannot display bot commands.

bot id: @FFQMiaokoBot @FFQAntiChannelSpamBot @MissRose_bot @ffqMiaoBot telegram: image unigram: image

Senderman commented 1 year ago

Reproducible in Telegram Desktop 4.6.2 Linux

aNNiMON commented 1 year ago

This issue is reproducible on 4.6.2

We have two groups. In the first group we have 5 bots with commands (let's say bot A, bot B, bot C, bot D and bot E), but tdesktop shows only commands from 4 of them. In the second group we have 7 bots: bot A and 6 another bots with commands. Tdesktop shows command from these 6 bots, but not for bot A. However, in the first group bot A commands are showing in the list.

Then we tried the following steps in the second group:

Action Result Expected?
1 Remove all bots Commands from 6 bots are still exist in the list (list is not refreshing after removing bots)
2 Restart tdesktop Empty commands list
3 Add bot A Bot A commands are showing
4 Add 3 (of 6 kicked) bots to the group again Commands from 3 bots are showing, but Bot A commands aren't
github-actions[bot] commented 1 year ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

aNNiMON commented 1 year ago

Still not fixed

github-actions[bot] commented 9 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

aNNiMON commented 9 months ago

The issue is still present in 4.14.13

sam0324sam commented 8 months ago

The issue is still present in 4.15 x64

ziplantil commented 3 months ago

The issue is still present in 5.4.1 x64

It depends on both the bot and the group. In other groups, the bot displays commands just fine. In the affected group, other bots show their commands just fine. Yet that specific bot in that specific group shows no commands.

andrey-helldar commented 2 months ago

I've run into this problem too. The same bot in some groups shows commands and in some groups it does not.

moshaoli688 commented 2 months ago

This problem seems to exist more on the desktop client, and the mobile client seems to be fine at present. So far, the bot command in my windows client cannot be fully displayed.

andrey-helldar commented 2 months ago

I too have the mobile client showing without problems, but the desktop client has problems.

Telegram Desktop 5.4.1 x64 for Windows

FlueschPluesch commented 2 months ago

I can confirm this issue.

akbariandev commented 1 month ago

Desktop version 5.6.1 still has issue

ziplantil commented 2 weeks ago

I have debugged this up to this point:

Seems like it could be a bug buried deep inside the base libraries, more specifically flat_map, which does not work correctly when there are collisions of some kind.