Is it possible to create a group and assign users to it with Telegrams API? Could not find any method like this in it’s method list: https://core.telegram.org/methods
I am using php as my server language.
Is it possible to create a group and assign users to it with Telegrams API? Could not find any method like this in it’s method list: https://core.telegram.org/methods
I am using php as my server language.
4
Answers
Received answer from Telegram: "currently creating groups is impossible via Telegram's API"
In Java it is working for me. You can create a chat with:
String name;
TLVector < TLAbsInputUser > contacts;
contacts.add(new TLInputUserContact(uid));
TLAbsStatedMessage result=api.doRpcCall(new TLRequestMessagesCreateChat(contacts, name));
Telegram’s API Methods had this create Channel method where you can create SuperGroups/Channels:
Link
I guess you should use this endpoint.