[−][src]Struct telexide::model::raw::RawMessage
The raw message, for most usages the [Message
] object is easier to use
Fields
message_id: i64
from: Option<User>
sender_chat: Option<RawChat>
date: DateTime<Utc>
chat: RawChat
forward_from: Option<User>
forward_from_chat: Option<RawChat>
forward_from_message_id: Option<i64>
forward_signature: Option<String>
forward_sender_name: Option<String>
forward_date: Option<DateTime<Utc>>
reply_to_message: Option<Box<RawMessage>>
via_bot: Option<User>
edit_date: Option<DateTime<Utc>>
media_group_id: Option<String>
text: Option<String>
entities: Option<Vec<MessageEntity>>
audio: Option<Audio>
document: Option<Document>
animation: Option<Animation>
game: Option<Game>
photo: Option<Vec<PhotoSize>>
sticker: Option<Sticker>
video: Option<Video>
voice: Option<Voice>
video_note: Option<VideoNote>
contact: Option<Contact>
location: Option<Location>
venue: Option<Venue>
poll: Option<Poll>
dice: Option<Dice>
new_chat_members: Option<Vec<User>>
left_chat_member: Option<User>
new_chat_title: Option<String>
new_chat_photo: Option<Vec<PhotoSize>>
delete_chat_photo: bool
group_chat_created: bool
supergroup_chat_created: bool
channel_chat_created: bool
migrate_to_chat_id: Option<i64>
migrate_from_chat_id: Option<i64>
pinned_message: Option<Box<RawMessage>>
invoice: Option<Invoice>
successful_payment: Option<SuccessfulPayment>
connected_website: Option<String>
passport_data: Option<PassportData>
proximity_alert_triggered: Option<ProximityAlertTriggered>
reply_markup: Option<InlineKeyboardMarkup>
Trait Implementations
impl Clone for RawMessage
[src]
fn clone(&self) -> RawMessage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RawMessage
[src]
impl<'de> Deserialize<'de> for RawMessage
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Message> for RawMessage
[src]
fn from(message: Message) -> RawMessage
[src]
impl From<RawMessage> for Message
[src]
fn from(raw: RawMessage) -> Message
[src]
impl PartialEq<RawMessage> for RawMessage
[src]
fn eq(&self, other: &RawMessage) -> bool
[src]
fn ne(&self, other: &RawMessage) -> bool
[src]
impl Serialize for RawMessage
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RawMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawMessage
impl Send for RawMessage
impl Sync for RawMessage
impl Unpin for RawMessage
impl UnwindSafe for RawMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
[src]
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,