pub struct InputLocationMessageContent {
pub latitude: f32,
pub longitude: f32,
pub live_period: Option<i64>,
}Fields§
§latitude: f32Latitude of the location in degrees
longitude: f32Longitude of the location in degrees
live_period: Option<i64>Period in seconds for which the location can be updated, should be between 60 and 86400.
Trait Implementations§
source§impl Debug for InputLocationMessageContent
impl Debug for InputLocationMessageContent
source§impl From<InputLocationMessageContent> for InputMessageContent
impl From<InputLocationMessageContent> for InputMessageContent
source§fn from(value: InputLocationMessageContent) -> InputMessageContent
fn from(value: InputLocationMessageContent) -> InputMessageContent
Converts to this type from the input type.
source§impl Serialize for InputLocationMessageContent
impl Serialize for InputLocationMessageContent
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more