pub struct Forward {
pub date: DateTime<Utc>,
pub from: ForwardedFrom,
pub signature: Option<String>,
pub message_id: Option<i32>,
}Expand description
Information about forwarded message.
Fields§
§date: DateTime<Utc>Date the original message was sent in Unix time.
from: ForwardedFromThe entity that sent the original message.
signature: Option<String>For messages forwarded from channels, signature of the post author if present. For messages forwarded from anonymous admins, authors title, if present.
message_id: Option<i32>For messages forwarded from channels, identifier of the original message in the channel
Trait Implementations§
source§impl<'de> Deserialize<'de> for Forward
impl<'de> Deserialize<'de> for Forward
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more