vysheng/tg

channel_join <channel> not work

khorezmiy opened this issue · 8 comments

How to join to channel? channel_join give an error? For example channel_join eurolabs & channel_join @eurolabs get error FAIL: 38: can not parse arg #1. Please help

I've get this error too...
How can I fix it?

Is there any way to solve this problem? I either face it

I wrapped the channel between double quote and error vanished, but no response from cli and no success in joining channel.

channel_join "mych123"
channel_join "@mych123"
channel_join "https://telegram.me/mych123"

no fix yet?

resolve_username channel_username
channel_join @channel_username

This is mine:

channel_join
FAIL: 78: can not find command 'channel_join'

about resolve_username command, you should run tg with --json.

Telegram doesn't allow frequent username resolve actions, so this error may mean that you have exceeded the limit.

My output:

Already resolved username:

> channel_join @telegram
{"result": "SUCCESS"}
> channel_leave @telegram
{"result": "SUCCESS"}

New username:

> channel_join @mylittlepony
{"error": "can not parse arg #1", "result": "FAIL", "error_code": 38}

I've determined that the limits are approx. 250 resolves per 12 hours.

@khapota you should use the test branch.

Possible solution:
from interactive:

  • run "dialog_list"
  • then use other commands

from cli:

  • use ./telegram-cli -WfD --json --exec "$(CMD)"

I think when run dialog_list, app cache user/chat/etc IDs and use them when you try call him by short name.

*** 1710604231.058449 Notification API_64BIT_LOGIN_APP_OUTDATED_30: You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version. If you don’t know how to update your app, go to https://telegram.org/dl

Please help