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

How to get an id through an invite link on a channel or group #58

Closed
Esiarp8 opened this issue Aug 20, 2023 · 2 comments
Closed

How to get an id through an invite link on a channel or group #58

Esiarp8 opened this issue Aug 20, 2023 · 2 comments

Comments

@Esiarp8
Copy link

Esiarp8 commented Aug 20, 2023

hello, how to get an id through an invite link on a channel or group
message.ForwardTo(message.ChatID())
I would like to forward a message directly to the linked group via the link
can't seem to find it haha

@AmarnathCJD
Copy link
Owner

@Esiarp8 client.MessagesCheckChatInvite maybe 🤔

@AmarnathCJD
Copy link
Owner

@AmarnathCJD You have join private chat if u have to send message there, client.MessagesImportChatInvite

@Esiarp8 Esiarp8 closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants