product:chat

Update live location

Updates an existing live location with new coordinates or expiration time

put/users/live_locations

Query parameters

user_idstring

Request body

end_atstring date-time

Time when the live location expires

latitudenumber float

Latitude coordinate

longitudenumber float

Longitude coordinate

message_idstring required

Live location ID

Response

Successful response

channel_cidstring required

Channel CID

created_atstring date-time required

Date/time of creation

created_by_device_idstring required

Device ID that created the live location

durationstring required
end_atstring date-time

Time when the live location expires

latitudenumber float required

Latitude coordinate

longitudenumber float required

Longitude coordinate

message_idstring required

Message ID

updated_atstring date-time required

Date/time of the last update

user_idstring required

User ID

Example response

{
  "channel": {
    "config": {
      "partition_ttl": "24h"
    }
  },
  "message": {
    "draft": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    },
    "reminder": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    },
    "shared_location": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    }
  }
}

Changes