messages.getOnlines

Get count of online users in a chat

 اسکیمای روش از لایه 91 در دسترس است. تغییر »

Parameters

Name Type Description
peer InputPeer The chat

Result

ChatOnlines

Only users can use this method

Possible errors

Code Type Description
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 CHAT_ID_INVALID The provided chat id is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.