Help

Using Prevoius in groups

por s54345 publicado Jun 11 2019, 19:56

When adding a new response, there's the option to set a required previous response. Say, I require the previous response "hello". That works fine in private chat with the bot.

But when the bot is in group it routinely prefix its response with the username of the speaker making it "@username hello".

How do I require the previous response "@username hello" or preferably ("hello" or "@username hello") ?


by admin posted Jun 14 2019, 8:19
Just use the bot's reply with no prefix.

i.e.
hi
Hello!

hi
How are you today?
require previous: hello

Updated: Jun 14 2019, 8:21
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2753, today: 1, week: 1, month: 16

by s54345 posted Jun 15 2019, 9:01

That works fine in private chat but not in group.

Because the actual conversation in group goes like this:

--------------------------

hi 
@username Hello! 

hi 
@username How are you today? 
--------------------------

 

When you require "Hello!" or "hello" as a previous, it doesn't recognize it. Because it is prefixed with "@username".


Updated: Jun 15 2019, 9:06
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2031, today: 1, week: 1, month: 18

by admin posted Jun 17 2019, 9:10
I tested this in group chat and it worked fine. The @username is ignored.

What is the bot's name/id and channel you are having issues with?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2207, today: 0, week: 1, month: 20

by s54345 posted Jun 18 2019, 5:21




----------------------------------------------------------








It works fine in private chat.







But in group, the second response doesn't work.








Bot Id: 9502002 


It's only connected to one Telegram group.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2110, today: 0, week: 1, month: 20

by admin posted Jun 18 2019, 11:36
I tested the group messaging in your bot's chat room on Bot Libre and it worked correctly.

A Telegram group is different, we will need to investigate that.
Can you please email support@botlibre.biz with the issue, include your bot's id, and your Telegram bot name, and your Telegram group name.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2139, today: 0, week: 0, month: 14

Id: 9534460
Publicado: Jun 11 2019, 19:56
Actualizado: Jun 14 2019, 8:06
Respuestas: 5
Vistas: 2175, hoy: 2, la semana: 2, mes: 25
0 0 0.0/5