Skip to content
v1
文档/Browser JS SDK/消息

@beeworks/imsdk


@beeworks/imsdk / message / CreateLocationMessageOptions

CreateLocationMessageOptions ​

创建地理位置消息的参数。

Properties ​

to ​

to: Conversation

目标会话。


payload ​

payload: object

地理位置内容。

description ​

description: string

地点描述或地址。

longitude ​

longitude: number

经度,范围为 -180 到 180。

latitude ​

latitude: number

纬度,范围为 -90 到 90。