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

Chat admin features #11

Closed
tazhate opened this issue Nov 15, 2013 · 3 comments
Closed

Chat admin features #11

tazhate opened this issue Nov 15, 2013 · 3 comments

Comments

@tazhate
Copy link
Contributor

tazhate commented Nov 15, 2013

I'd like to ban, add users to chat, etc from client.

I think, it is usefull feature.

@vysheng
Copy link
Owner

vysheng commented Nov 15, 2013

You can add/delete users to/from chat with chat_add_user/chat_del_user

@tazhate
Copy link
Contributor Author

tazhate commented Nov 22, 2013

Is there any other commands? I can add it to README.

@vysheng
Copy link
Owner

vysheng commented Nov 22, 2013

You can see it in the top of the structures.c file. Currently
248 char *commands[] = {
249 "help",
250 "msg",
251 "contact_list",
252 "stats",
253 "history",
254 "dialog_list",
255 "send_photo",
256 "send_video",
257 "send_text",
258 "chat_info",
259 "user_info",
260 "fwd",
261 "rename_chat",
262 "load_photo",
263 "view_photo",
264 "load_video_thumb",
265 "view_video_thumb",
266 "load_video",
267 "view_video",
268 "add_contact",
269 "rename_contact",
270 "show_license",
271 "search",
272 "mark_read",
273 "visualize_key",
274 "create_secret_chat",
275 "suggested_contacts",
276 "global_search",
277 "chat_add_user",
278 "chat_del_user",
279 "status_online",
280 "status_offline",
281 "contacts_search",
282 "quit",
283 "send_audio",
284 "load_audio",
285 "view_audio",
286 "send_document",
287 "load_document_thumb",
288 "view_document_thumb",
289 "load_document",
290 "view_document",
291 "set",
292 0 };

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