Class LocationMessageContent
Message object which contains the location data sent from the source.
public class LocationMessageContent : MessageContent, IAdditionalDataHolder, IParsable
- Inheritance
-
LocationMessageContent
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Properties
Address
Address
public string? Address { get; set; }
Property Value
Latitude
Latitude
public double? Latitude { get; set; }
Property Value
Longitude
Longitude
public double? Longitude { get; set; }
Property Value
MarkAsReadToken
Token used to mark the message as read.
public string? MarkAsReadToken { get; set; }
Property Value
Title
Title
public string? Title { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static LocationMessageContent CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNodeIParseNodeThe parse node to use to read the discriminator value and create the object
Returns
GetFieldDeserializers()
The deserialization information for the current model
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
- IDictionary<string, Action<IParseNode>>
A IDictionary<string, Action<IParseNode>>
Serialize(ISerializationWriter)
Serializes information the current object
public override void Serialize(ISerializationWriter writer)
Parameters
writerISerializationWriterSerialization writer to use to serialize this model