Struct telexide_fork::model::Update
source · pub struct Update {
pub update_id: i64,
pub content: UpdateContent,
}Expand description
This object represents an incoming update
Fields§
§update_id: i64The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you’re using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.
content: UpdateContentThe content of the incoming update
Trait Implementations§
source§impl<'de> Deserialize<'de> for Update
impl<'de> Deserialize<'de> for Update
source§fn deserialize<D>(deserializer: D) -> Result<Update, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Update, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more