Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to MTProto layer 126 (join_as, peer instead of user_id) #61

Closed
MarshalX opened this issue Mar 21, 2021 · 2 comments · Fixed by #63
Closed

Update to MTProto layer 126 (join_as, peer instead of user_id) #61

MarshalX opened this issue Mar 21, 2021 · 2 comments · Fixed by #63
Labels
enhancement New feature or request Priority 3

Comments

@MarshalX
Copy link
Owner

Since the pyrogram was not released, this feature will be in a separate branch. pypi versions will come out as dev.

@MarshalX MarshalX added enhancement New feature or request Priority 3 labels Mar 21, 2021
@MarshalX MarshalX changed the title Update to MTProto layers 126 (join_as, peer instead of user_id) Update to MTProto layer 126 (join_as, peer instead of user_id) Mar 21, 2021
@MarshalX
Copy link
Owner Author

MarshalX commented Mar 21, 2021

Branch: https://github.com/MarshalX/tgcalls/tree/mtproto-layer-126

To use dev version u need to install pyrogram from git:

pip uninstall pyrogram
pip3 install git+https://github.com/pyrogram/pyrogram

and install dev version of pytgcalls:

pip install pytgcalls==0.0.15.dev1

If u get ERROR: No matching distribution found for pytgcalls==0.0.15.dev1 then run install command again

To join to channel as channel:

group_call = GroupCall(client, 'input.raw')
await group_call.start('@MarshalR', '@MarshalR')     # the second param is join_as

@MarshalX
Copy link
Owner Author

Issues: Duplicate SSRC (need to properly rejoin). To fix restart script. Occurred when u try to change join_as from channel to another one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority 3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant