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

Problem in chat_id #45

Open
mram3d opened this issue Jan 9, 2016 · 1 comment
Open

Problem in chat_id #45

mram3d opened this issue Jan 9, 2016 · 1 comment

Comments

@mram3d
Copy link

mram3d commented Jan 9, 2016

Hi
thanks in advanced for nice api you have designed.
I wanna use TLRequestMessagesAddChatUser method to add user to chat.the chat_id type is int but the chat id that i have is too long for int data type and it s long (chat_id: -1001027811592). what do i have to do for this problem? do i have to change api layer ? if the answer is yes , where can i find that api layer ?
thanks.

@andmarkelov
Copy link

@mram3d
According the tg documentation this field cannot be long anyways. The real id of your group is 1027811592 but -100 is just prefix for channels or supergroups. Try to operate it as with channels.

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