kenorb-contrib / tg

`telegram-cli` for Telegram IM
https://github.com/telegramdesktop/tdesktop
GNU General Public License v2.0
381 stars 52 forks source link

message from bot to group #33

Open scimmiettarossa opened 3 years ago

scimmiettarossa commented 3 years ago

Hi everyone I have the following issue:

I know that this limitation is intended, to avoid that bot can spam all around.. but I'm wondering if there is a way to overcome it, or to solve in another way; the alternative to use another phone number to create a "service" individual account is something I would avoid, if possible

ic-scm commented 3 years ago

Are you not able to resolve the group by running the commands 'dialog_list' or 'resolve_username' when starting telegram-cli? You can also start telegram-cli with the '-W' option to automatically run dialog_list and resolve chats on startup.

scimmiettarossa commented 3 years ago

I will try.. at the moment I discovered another problem: the standalone telegram-cli works.. while the daemon open the port 2391 on localhost.. but any command sent to this port obtains just the response "sh: 1: 2: not found"

scimmiettarossa commented 3 years ago

I tried your hints on the standalone program, with no success... "BOT METHOD INVALID"

still trying to have the daemon working