Enum rust_tdlib::types::PushMessageContent [−][src]
Contains content of a push message notification
Variants
Animation(PushMessageContentAnimation)An animation message (GIF-style).
Audio(PushMessageContentAudio)An audio message
BasicGroupChatCreate(PushMessageContentBasicGroupChatCreate)A newly created basic group
ChatAddMembers(PushMessageContentChatAddMembers)New chat members were invited to a group
ChatChangePhoto(PushMessageContentChatChangePhoto)A chat photo was edited
ChatChangeTitle(PushMessageContentChatChangeTitle)A chat title was edited
ChatDeleteMember(PushMessageContentChatDeleteMember)A chat member was deleted
ChatJoinByLink(PushMessageContentChatJoinByLink)A new member joined the chat by invite link
Contact(PushMessageContentContact)A message with a user contact
ContactRegistered(PushMessageContentContactRegistered)A contact has registered with Telegram
Document(PushMessageContentDocument)A document message (a general file)
Game(PushMessageContentGame)A message with a game
GameScore(PushMessageContentGameScore)A new high score was achieved in a game
Hidden(PushMessageContentHidden)A general message with hidden content
Invoice(PushMessageContentInvoice)A message with an invoice from a bot
Location(PushMessageContentLocation)A message with a location
MediaAlbum(PushMessageContentMediaAlbum)A media album
MessageForwards(PushMessageContentMessageForwards)A forwarded messages
Photo(PushMessageContentPhoto)A photo message
Poll(PushMessageContentPoll)A message with a poll
ScreenshotTaken(PushMessageContentScreenshotTaken)A screenshot of a message in the chat has been taken
Sticker(PushMessageContentSticker)A message with a sticker
Text(PushMessageContentText)A text message
Video(PushMessageContentVideo)A video message
VideoNote(PushMessageContentVideoNote)A video note message
VoiceNote(PushMessageContentVoiceNote)A voice note message
Implementations
impl PushMessageContent[src]
Trait Implementations
impl AsRef<PushMessageContent> for PushMessageContent[src]
fn as_ref(&self) -> &PushMessageContent[src]
impl Clone for PushMessageContent[src]
fn clone(&self) -> PushMessageContent[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PushMessageContent[src]
impl Default for PushMessageContent[src]
impl<'de> Deserialize<'de> for PushMessageContent[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for PushMessageContent[src]
Auto Trait Implementations
impl RefUnwindSafe for PushMessageContent[src]
impl Send for PushMessageContent[src]
impl Sync for PushMessageContent[src]
impl Unpin for PushMessageContent[src]
impl UnwindSafe for PushMessageContent[src]
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,