Mivra LogoMivra API K 简体中文

#sendLocation

使用此方法发送地理位置。成功返回发送的 Message 对象。

参数

参数类型必需说明
chat_idIntegerYes目标聊天 ID
latitudeFloatYes纬度
longitudeFloatYes经度
horizontal_accuracyFloatOptional水平定位精度(米)
live_periodIntegerOptional实时位置有效期(秒,1–86400)
chat_idIntegerYes目标聊天 ID
reply_markupInlineKeyboardMarkup 等Optional消息附带的回复键盘
disable_notificationBooleanOptional静默发送,不触发通知
reply_to_message_idIntegerOptional回复的消息 ID