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

Identify functions in docs #7

Open
pickfire opened this issue Jul 21, 2024 · 5 comments
Open

Identify functions in docs #7

pickfire opened this issue Jul 21, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@pickfire
Copy link

image

The function authorizationStateWaitCode there should be converted to the same style and link to the correct function for readability in the docs.

@FedericoBruzzone
Copy link
Owner

Thank you for your contribution.

We are aware of this small problem, the documentation is currently generated (as are the bindings on the other hand).
For the next release we will try to fix it!

If you want to contribute please feel free to do so :)

@Andreal2000 Andreal2000 added enhancement New feature or request documentation Improvements or additions to documentation labels Aug 13, 2024
@wrbtjia
Copy link

wrbtjia commented Oct 13, 2024

functions::get_supergroup(-1002276279133,client_id).await.unwrap();
{ code: 400, message: "Invalid supergroup identifier" }
I wrote it. Is there a problem ?

@FedericoBruzzone
Copy link
Owner

It seems that the supergroup id is regenerated every time, can it be?

@wrbtjia
Copy link

wrbtjia commented Oct 14, 2024

functions::get_cha

It seems that the supergroup id is regenerated every time, can it be?

functions::get_chat(-1002276279133,client_id).await.unwrap();
{ id: -1002276279102, type: Supergroup(ChatTypeSupergroup { supergroup_id: 2276279133, is_channel: false })
functions::get_supergroup(-1002276279133,client_id).await.unwrap();
{ code: 400, message: "Invalid supergroup identifier" }
I don't know if that's the right way to use it

@FedericoBruzzone
Copy link
Owner

You are supposed to use 2276279133, aren't you?
This however is not the correct issue, if this suggestion does not solve I ask you to open a separate one.

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

No branches or pull requests

4 participants