RTM 1.x 将于近期下架,各版本退休日期和替代方案详见
退休政策
。
Documentation
Real-time Messaging
All
Product
Video Call
Chat (BETA)
Agora Basics
Previous Product
Voice Call (Legacy)
Video Call (Legacy)
Interactive Live Streaming Premium (Legacy)
Interactive Live Streaming Standard (Legacy)
Real-time Messaging
Live-stream Shopping
Lecture Hall
AI Interactive Classroom
Use Case
Multiple Hosts
Single Host
Virtual Host
PK Host
Console
官网
Community
Technical support
English
简体中文
English
Log In
Sign Up
Sign Up
Log In
Language
中文
English
官网
Console
Community
Technical support
Docs
API Reference
Downloads
Code Samples
FAQ
Docs
API Reference
Downloads
Code Samples
FAQ
4.0.0 Beta
Search
Search in this product
Search in all products
Search
Documentation
Real-time Messaging
API Reference
PeersOnlineStatusResult | Agora RTM JavaScript SDK API Reference
Agora RTM Web API Reference
v1.5.0
v1.4.5
v1.4.3
v1.4.2
v1.4.0
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.0
No data
Index
AgoraRTM
RtmClient
RtmMessage
RtmChannel
LocalInvitation
RemoteInvitation
RtmEvents
RtmErrorCode
RtmStatusCode
Interface for the peerId / online status key-value pair.
`true`: The user has logged in the Agora RTM system.
`false`: The user has logged out of the Agora RTM system.
Hierarchy
PeersOnlineStatusResult
Indexable
[
peerId:
string
]:
boolean
Interface for the peerId / online status key-value pair.
`true`: The user has logged in the Agora RTM system.
`false`: The user has logged out of the Agora RTM system.
Globals
Local
Invitation
Remote
Invitation
Rtm
Channel
Rtm
Client
Attributes
Map
Channel
Attribute
Options
Channel
Attribute
Properties
Channel
Attributes
Channel
Member
Count
Result
Peer
Message
Send
Result
Peers
Online
Status
Map
Peers
Online
Status
Result
Received
Message
Properties
Rtm
Config
Rtm
Raw
Message
Rtm
Text
Message
Rtm
Message
Your feedback matters to us!
Interface for the peerId / online status key-value pair.