OptionalblockWhen set to true, the chat input will be disabled on supported client implementations when the message is the most recent one in the history. Can be used for guided flows or to temporarily disable the user's ability to send messages in the conversation.
The coordinates of the location.
Global latitude.
Global longitude.
OptionallocationInformation about the location.
Optionaladdress?: stringA string representing the address of the location.
Optionalname?: stringA string representing the name of the location.
Optional ReadonlytextThe fallback text message used when location messages are not supported by the channel.
The type of message.
A location type message includes the coordinates (latitude and longitude) of a location and an optional location object which can include the name and address of the location. Typically sent in response to a Location Request.