pub enum MessageAction {
Show 64 variants
Empty,
ChatCreate(MessageActionChatCreate),
ChatEditTitle(MessageActionChatEditTitle),
ChatEditPhoto(MessageActionChatEditPhoto),
ChatDeletePhoto,
ChatAddUser(MessageActionChatAddUser),
ChatDeleteUser(MessageActionChatDeleteUser),
ChatJoinedByLink(MessageActionChatJoinedByLink),
ChannelCreate(MessageActionChannelCreate),
ChatMigrateTo(MessageActionChatMigrateTo),
ChannelMigrateFrom(MessageActionChannelMigrateFrom),
PinMessage,
HistoryClear,
GameScore(MessageActionGameScore),
PaymentSentMe(MessageActionPaymentSentMe),
PaymentSent(MessageActionPaymentSent),
PhoneCall(MessageActionPhoneCall),
ScreenshotTaken,
CustomAction(MessageActionCustomAction),
BotAllowed(MessageActionBotAllowed),
SecureValuesSentMe(MessageActionSecureValuesSentMe),
SecureValuesSent(MessageActionSecureValuesSent),
ContactSignUp,
GeoProximityReached(MessageActionGeoProximityReached),
GroupCall(MessageActionGroupCall),
InviteToGroupCall(MessageActionInviteToGroupCall),
SetMessagesTtl(MessageActionSetMessagesTtl),
GroupCallScheduled(MessageActionGroupCallScheduled),
SetChatTheme(MessageActionSetChatTheme),
ChatJoinedByRequest,
WebViewDataSentMe(MessageActionWebViewDataSentMe),
WebViewDataSent(MessageActionWebViewDataSent),
GiftPremium(MessageActionGiftPremium),
TopicCreate(MessageActionTopicCreate),
TopicEdit(MessageActionTopicEdit),
SuggestProfilePhoto(MessageActionSuggestProfilePhoto),
RequestedPeer(MessageActionRequestedPeer),
SetChatWallPaper(MessageActionSetChatWallPaper),
GiftCode(MessageActionGiftCode),
GiveawayLaunch(MessageActionGiveawayLaunch),
GiveawayResults(MessageActionGiveawayResults),
BoostApply(MessageActionBoostApply),
RequestedPeerSentMe(MessageActionRequestedPeerSentMe),
PaymentRefunded(MessageActionPaymentRefunded),
GiftStars(MessageActionGiftStars),
PrizeStars(MessageActionPrizeStars),
StarGift(MessageActionStarGift),
StarGiftUnique(MessageActionStarGiftUnique),
PaidMessagesRefunded(MessageActionPaidMessagesRefunded),
PaidMessagesPrice(MessageActionPaidMessagesPrice),
ConferenceCall(MessageActionConferenceCall),
TodoCompletions(MessageActionTodoCompletions),
TodoAppendTasks(MessageActionTodoAppendTasks),
SuggestedPostApproval(MessageActionSuggestedPostApproval),
SuggestedPostSuccess(MessageActionSuggestedPostSuccess),
SuggestedPostRefund(MessageActionSuggestedPostRefund),
GiftTon(MessageActionGiftTon),
SuggestBirthday(MessageActionSuggestBirthday),
StarGiftPurchaseOffer(MessageActionStarGiftPurchaseOffer),
StarGiftPurchaseOfferDeclined(MessageActionStarGiftPurchaseOfferDeclined),
NewCreatorPending(MessageActionNewCreatorPending),
ChangeCreator(MessageActionChangeCreator),
NoForwardsToggle(MessageActionNoForwardsToggle),
NoForwardsRequest(MessageActionNoForwardsRequest),
}Expand description
Variants§
Empty
ChatCreate(MessageActionChatCreate)
ChatEditTitle(MessageActionChatEditTitle)
ChatEditPhoto(MessageActionChatEditPhoto)
ChatDeletePhoto
ChatAddUser(MessageActionChatAddUser)
ChatDeleteUser(MessageActionChatDeleteUser)
ChatJoinedByLink(MessageActionChatJoinedByLink)
ChannelCreate(MessageActionChannelCreate)
ChatMigrateTo(MessageActionChatMigrateTo)
ChannelMigrateFrom(MessageActionChannelMigrateFrom)
PinMessage
HistoryClear
GameScore(MessageActionGameScore)
PaymentSentMe(MessageActionPaymentSentMe)
PaymentSent(MessageActionPaymentSent)
PhoneCall(MessageActionPhoneCall)
ScreenshotTaken
CustomAction(MessageActionCustomAction)
BotAllowed(MessageActionBotAllowed)
SecureValuesSentMe(MessageActionSecureValuesSentMe)
SecureValuesSent(MessageActionSecureValuesSent)
ContactSignUp
GeoProximityReached(MessageActionGeoProximityReached)
GroupCall(MessageActionGroupCall)
InviteToGroupCall(MessageActionInviteToGroupCall)
SetMessagesTtl(MessageActionSetMessagesTtl)
GroupCallScheduled(MessageActionGroupCallScheduled)
SetChatTheme(MessageActionSetChatTheme)
ChatJoinedByRequest
WebViewDataSentMe(MessageActionWebViewDataSentMe)
WebViewDataSent(MessageActionWebViewDataSent)
GiftPremium(MessageActionGiftPremium)
TopicCreate(MessageActionTopicCreate)
TopicEdit(MessageActionTopicEdit)
SuggestProfilePhoto(MessageActionSuggestProfilePhoto)
RequestedPeer(MessageActionRequestedPeer)
SetChatWallPaper(MessageActionSetChatWallPaper)
GiftCode(MessageActionGiftCode)
GiveawayLaunch(MessageActionGiveawayLaunch)
GiveawayResults(MessageActionGiveawayResults)
BoostApply(MessageActionBoostApply)
RequestedPeerSentMe(MessageActionRequestedPeerSentMe)
PaymentRefunded(MessageActionPaymentRefunded)
GiftStars(MessageActionGiftStars)
PrizeStars(MessageActionPrizeStars)
StarGift(MessageActionStarGift)
StarGiftUnique(MessageActionStarGiftUnique)
PaidMessagesRefunded(MessageActionPaidMessagesRefunded)
PaidMessagesPrice(MessageActionPaidMessagesPrice)
ConferenceCall(MessageActionConferenceCall)
TodoCompletions(MessageActionTodoCompletions)
TodoAppendTasks(MessageActionTodoAppendTasks)
SuggestedPostApproval(MessageActionSuggestedPostApproval)
SuggestedPostSuccess(MessageActionSuggestedPostSuccess)
SuggestedPostRefund(MessageActionSuggestedPostRefund)
GiftTon(MessageActionGiftTon)
SuggestBirthday(MessageActionSuggestBirthday)
StarGiftPurchaseOffer(MessageActionStarGiftPurchaseOffer)
StarGiftPurchaseOfferDeclined(MessageActionStarGiftPurchaseOfferDeclined)
NewCreatorPending(MessageActionNewCreatorPending)
ChangeCreator(MessageActionChangeCreator)
NoForwardsToggle(MessageActionNoForwardsToggle)
NoForwardsRequest(MessageActionNoForwardsRequest)
Trait Implementations§
Source§impl Clone for MessageAction
impl Clone for MessageAction
Source§fn clone(&self) -> MessageAction
fn clone(&self) -> MessageAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageAction
impl Debug for MessageAction
Source§impl Deserializable for MessageAction
impl Deserializable for MessageAction
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<MessageActionBoostApply> for MessageAction
impl From<MessageActionBoostApply> for MessageAction
Source§fn from(x: MessageActionBoostApply) -> Self
fn from(x: MessageActionBoostApply) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionBotAllowed> for MessageAction
impl From<MessageActionBotAllowed> for MessageAction
Source§fn from(x: MessageActionBotAllowed) -> Self
fn from(x: MessageActionBotAllowed) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChangeCreator> for MessageAction
impl From<MessageActionChangeCreator> for MessageAction
Source§fn from(x: MessageActionChangeCreator) -> Self
fn from(x: MessageActionChangeCreator) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChannelCreate> for MessageAction
impl From<MessageActionChannelCreate> for MessageAction
Source§fn from(x: MessageActionChannelCreate) -> Self
fn from(x: MessageActionChannelCreate) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChannelMigrateFrom> for MessageAction
impl From<MessageActionChannelMigrateFrom> for MessageAction
Source§fn from(x: MessageActionChannelMigrateFrom) -> Self
fn from(x: MessageActionChannelMigrateFrom) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatAddUser> for MessageAction
impl From<MessageActionChatAddUser> for MessageAction
Source§fn from(x: MessageActionChatAddUser) -> Self
fn from(x: MessageActionChatAddUser) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatCreate> for MessageAction
impl From<MessageActionChatCreate> for MessageAction
Source§fn from(x: MessageActionChatCreate) -> Self
fn from(x: MessageActionChatCreate) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatDeletePhoto> for MessageAction
impl From<MessageActionChatDeletePhoto> for MessageAction
Source§fn from(_x: MessageActionChatDeletePhoto) -> Self
fn from(_x: MessageActionChatDeletePhoto) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatDeleteUser> for MessageAction
impl From<MessageActionChatDeleteUser> for MessageAction
Source§fn from(x: MessageActionChatDeleteUser) -> Self
fn from(x: MessageActionChatDeleteUser) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatEditPhoto> for MessageAction
impl From<MessageActionChatEditPhoto> for MessageAction
Source§fn from(x: MessageActionChatEditPhoto) -> Self
fn from(x: MessageActionChatEditPhoto) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatEditTitle> for MessageAction
impl From<MessageActionChatEditTitle> for MessageAction
Source§fn from(x: MessageActionChatEditTitle) -> Self
fn from(x: MessageActionChatEditTitle) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatJoinedByLink> for MessageAction
impl From<MessageActionChatJoinedByLink> for MessageAction
Source§fn from(x: MessageActionChatJoinedByLink) -> Self
fn from(x: MessageActionChatJoinedByLink) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatJoinedByRequest> for MessageAction
impl From<MessageActionChatJoinedByRequest> for MessageAction
Source§fn from(_x: MessageActionChatJoinedByRequest) -> Self
fn from(_x: MessageActionChatJoinedByRequest) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionChatMigrateTo> for MessageAction
impl From<MessageActionChatMigrateTo> for MessageAction
Source§fn from(x: MessageActionChatMigrateTo) -> Self
fn from(x: MessageActionChatMigrateTo) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionConferenceCall> for MessageAction
impl From<MessageActionConferenceCall> for MessageAction
Source§fn from(x: MessageActionConferenceCall) -> Self
fn from(x: MessageActionConferenceCall) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionContactSignUp> for MessageAction
impl From<MessageActionContactSignUp> for MessageAction
Source§fn from(_x: MessageActionContactSignUp) -> Self
fn from(_x: MessageActionContactSignUp) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionCustomAction> for MessageAction
impl From<MessageActionCustomAction> for MessageAction
Source§fn from(x: MessageActionCustomAction) -> Self
fn from(x: MessageActionCustomAction) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionEmpty> for MessageAction
impl From<MessageActionEmpty> for MessageAction
Source§fn from(_x: MessageActionEmpty) -> Self
fn from(_x: MessageActionEmpty) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGameScore> for MessageAction
impl From<MessageActionGameScore> for MessageAction
Source§fn from(x: MessageActionGameScore) -> Self
fn from(x: MessageActionGameScore) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGeoProximityReached> for MessageAction
impl From<MessageActionGeoProximityReached> for MessageAction
Source§fn from(x: MessageActionGeoProximityReached) -> Self
fn from(x: MessageActionGeoProximityReached) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGiftCode> for MessageAction
impl From<MessageActionGiftCode> for MessageAction
Source§fn from(x: MessageActionGiftCode) -> Self
fn from(x: MessageActionGiftCode) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGiftPremium> for MessageAction
impl From<MessageActionGiftPremium> for MessageAction
Source§fn from(x: MessageActionGiftPremium) -> Self
fn from(x: MessageActionGiftPremium) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGiftStars> for MessageAction
impl From<MessageActionGiftStars> for MessageAction
Source§fn from(x: MessageActionGiftStars) -> Self
fn from(x: MessageActionGiftStars) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGiftTon> for MessageAction
impl From<MessageActionGiftTon> for MessageAction
Source§fn from(x: MessageActionGiftTon) -> Self
fn from(x: MessageActionGiftTon) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGiveawayLaunch> for MessageAction
impl From<MessageActionGiveawayLaunch> for MessageAction
Source§fn from(x: MessageActionGiveawayLaunch) -> Self
fn from(x: MessageActionGiveawayLaunch) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGiveawayResults> for MessageAction
impl From<MessageActionGiveawayResults> for MessageAction
Source§fn from(x: MessageActionGiveawayResults) -> Self
fn from(x: MessageActionGiveawayResults) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGroupCall> for MessageAction
impl From<MessageActionGroupCall> for MessageAction
Source§fn from(x: MessageActionGroupCall) -> Self
fn from(x: MessageActionGroupCall) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionGroupCallScheduled> for MessageAction
impl From<MessageActionGroupCallScheduled> for MessageAction
Source§fn from(x: MessageActionGroupCallScheduled) -> Self
fn from(x: MessageActionGroupCallScheduled) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionHistoryClear> for MessageAction
impl From<MessageActionHistoryClear> for MessageAction
Source§fn from(_x: MessageActionHistoryClear) -> Self
fn from(_x: MessageActionHistoryClear) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionInviteToGroupCall> for MessageAction
impl From<MessageActionInviteToGroupCall> for MessageAction
Source§fn from(x: MessageActionInviteToGroupCall) -> Self
fn from(x: MessageActionInviteToGroupCall) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionNewCreatorPending> for MessageAction
impl From<MessageActionNewCreatorPending> for MessageAction
Source§fn from(x: MessageActionNewCreatorPending) -> Self
fn from(x: MessageActionNewCreatorPending) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionNoForwardsRequest> for MessageAction
impl From<MessageActionNoForwardsRequest> for MessageAction
Source§fn from(x: MessageActionNoForwardsRequest) -> Self
fn from(x: MessageActionNoForwardsRequest) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionNoForwardsToggle> for MessageAction
impl From<MessageActionNoForwardsToggle> for MessageAction
Source§fn from(x: MessageActionNoForwardsToggle) -> Self
fn from(x: MessageActionNoForwardsToggle) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPaidMessagesPrice> for MessageAction
impl From<MessageActionPaidMessagesPrice> for MessageAction
Source§fn from(x: MessageActionPaidMessagesPrice) -> Self
fn from(x: MessageActionPaidMessagesPrice) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPaidMessagesRefunded> for MessageAction
impl From<MessageActionPaidMessagesRefunded> for MessageAction
Source§fn from(x: MessageActionPaidMessagesRefunded) -> Self
fn from(x: MessageActionPaidMessagesRefunded) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPaymentRefunded> for MessageAction
impl From<MessageActionPaymentRefunded> for MessageAction
Source§fn from(x: MessageActionPaymentRefunded) -> Self
fn from(x: MessageActionPaymentRefunded) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPaymentSent> for MessageAction
impl From<MessageActionPaymentSent> for MessageAction
Source§fn from(x: MessageActionPaymentSent) -> Self
fn from(x: MessageActionPaymentSent) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPaymentSentMe> for MessageAction
impl From<MessageActionPaymentSentMe> for MessageAction
Source§fn from(x: MessageActionPaymentSentMe) -> Self
fn from(x: MessageActionPaymentSentMe) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPhoneCall> for MessageAction
impl From<MessageActionPhoneCall> for MessageAction
Source§fn from(x: MessageActionPhoneCall) -> Self
fn from(x: MessageActionPhoneCall) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPinMessage> for MessageAction
impl From<MessageActionPinMessage> for MessageAction
Source§fn from(_x: MessageActionPinMessage) -> Self
fn from(_x: MessageActionPinMessage) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionPrizeStars> for MessageAction
impl From<MessageActionPrizeStars> for MessageAction
Source§fn from(x: MessageActionPrizeStars) -> Self
fn from(x: MessageActionPrizeStars) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionRequestedPeer> for MessageAction
impl From<MessageActionRequestedPeer> for MessageAction
Source§fn from(x: MessageActionRequestedPeer) -> Self
fn from(x: MessageActionRequestedPeer) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionRequestedPeerSentMe> for MessageAction
impl From<MessageActionRequestedPeerSentMe> for MessageAction
Source§fn from(x: MessageActionRequestedPeerSentMe) -> Self
fn from(x: MessageActionRequestedPeerSentMe) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionScreenshotTaken> for MessageAction
impl From<MessageActionScreenshotTaken> for MessageAction
Source§fn from(_x: MessageActionScreenshotTaken) -> Self
fn from(_x: MessageActionScreenshotTaken) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSecureValuesSent> for MessageAction
impl From<MessageActionSecureValuesSent> for MessageAction
Source§fn from(x: MessageActionSecureValuesSent) -> Self
fn from(x: MessageActionSecureValuesSent) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSecureValuesSentMe> for MessageAction
impl From<MessageActionSecureValuesSentMe> for MessageAction
Source§fn from(x: MessageActionSecureValuesSentMe) -> Self
fn from(x: MessageActionSecureValuesSentMe) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSetChatTheme> for MessageAction
impl From<MessageActionSetChatTheme> for MessageAction
Source§fn from(x: MessageActionSetChatTheme) -> Self
fn from(x: MessageActionSetChatTheme) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSetChatWallPaper> for MessageAction
impl From<MessageActionSetChatWallPaper> for MessageAction
Source§fn from(x: MessageActionSetChatWallPaper) -> Self
fn from(x: MessageActionSetChatWallPaper) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSetMessagesTtl> for MessageAction
impl From<MessageActionSetMessagesTtl> for MessageAction
Source§fn from(x: MessageActionSetMessagesTtl) -> Self
fn from(x: MessageActionSetMessagesTtl) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionStarGift> for MessageAction
impl From<MessageActionStarGift> for MessageAction
Source§fn from(x: MessageActionStarGift) -> Self
fn from(x: MessageActionStarGift) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionStarGiftPurchaseOffer> for MessageAction
impl From<MessageActionStarGiftPurchaseOffer> for MessageAction
Source§fn from(x: MessageActionStarGiftPurchaseOffer) -> Self
fn from(x: MessageActionStarGiftPurchaseOffer) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionStarGiftPurchaseOfferDeclined> for MessageAction
impl From<MessageActionStarGiftPurchaseOfferDeclined> for MessageAction
Source§fn from(x: MessageActionStarGiftPurchaseOfferDeclined) -> Self
fn from(x: MessageActionStarGiftPurchaseOfferDeclined) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionStarGiftUnique> for MessageAction
impl From<MessageActionStarGiftUnique> for MessageAction
Source§fn from(x: MessageActionStarGiftUnique) -> Self
fn from(x: MessageActionStarGiftUnique) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSuggestBirthday> for MessageAction
impl From<MessageActionSuggestBirthday> for MessageAction
Source§fn from(x: MessageActionSuggestBirthday) -> Self
fn from(x: MessageActionSuggestBirthday) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSuggestProfilePhoto> for MessageAction
impl From<MessageActionSuggestProfilePhoto> for MessageAction
Source§fn from(x: MessageActionSuggestProfilePhoto) -> Self
fn from(x: MessageActionSuggestProfilePhoto) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSuggestedPostApproval> for MessageAction
impl From<MessageActionSuggestedPostApproval> for MessageAction
Source§fn from(x: MessageActionSuggestedPostApproval) -> Self
fn from(x: MessageActionSuggestedPostApproval) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSuggestedPostRefund> for MessageAction
impl From<MessageActionSuggestedPostRefund> for MessageAction
Source§fn from(x: MessageActionSuggestedPostRefund) -> Self
fn from(x: MessageActionSuggestedPostRefund) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionSuggestedPostSuccess> for MessageAction
impl From<MessageActionSuggestedPostSuccess> for MessageAction
Source§fn from(x: MessageActionSuggestedPostSuccess) -> Self
fn from(x: MessageActionSuggestedPostSuccess) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionTodoAppendTasks> for MessageAction
impl From<MessageActionTodoAppendTasks> for MessageAction
Source§fn from(x: MessageActionTodoAppendTasks) -> Self
fn from(x: MessageActionTodoAppendTasks) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionTodoCompletions> for MessageAction
impl From<MessageActionTodoCompletions> for MessageAction
Source§fn from(x: MessageActionTodoCompletions) -> Self
fn from(x: MessageActionTodoCompletions) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionTopicCreate> for MessageAction
impl From<MessageActionTopicCreate> for MessageAction
Source§fn from(x: MessageActionTopicCreate) -> Self
fn from(x: MessageActionTopicCreate) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionTopicEdit> for MessageAction
impl From<MessageActionTopicEdit> for MessageAction
Source§fn from(x: MessageActionTopicEdit) -> Self
fn from(x: MessageActionTopicEdit) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionWebViewDataSent> for MessageAction
impl From<MessageActionWebViewDataSent> for MessageAction
Source§fn from(x: MessageActionWebViewDataSent) -> Self
fn from(x: MessageActionWebViewDataSent) -> Self
Converts to this type from the input type.
Source§impl From<MessageActionWebViewDataSentMe> for MessageAction
impl From<MessageActionWebViewDataSentMe> for MessageAction
Source§fn from(x: MessageActionWebViewDataSentMe) -> Self
fn from(x: MessageActionWebViewDataSentMe) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageAction
impl PartialEq for MessageAction
Source§impl Serializable for MessageAction
impl Serializable for MessageAction
Source§impl TryFrom<MessageAction> for MessageActionBoostApply
impl TryFrom<MessageAction> for MessageActionBoostApply
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionBotAllowed
impl TryFrom<MessageAction> for MessageActionBotAllowed
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChangeCreator
impl TryFrom<MessageAction> for MessageActionChangeCreator
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChannelCreate
impl TryFrom<MessageAction> for MessageActionChannelCreate
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChannelMigrateFrom
impl TryFrom<MessageAction> for MessageActionChannelMigrateFrom
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatAddUser
impl TryFrom<MessageAction> for MessageActionChatAddUser
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatCreate
impl TryFrom<MessageAction> for MessageActionChatCreate
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatDeleteUser
impl TryFrom<MessageAction> for MessageActionChatDeleteUser
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatEditPhoto
impl TryFrom<MessageAction> for MessageActionChatEditPhoto
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatEditTitle
impl TryFrom<MessageAction> for MessageActionChatEditTitle
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatJoinedByLink
impl TryFrom<MessageAction> for MessageActionChatJoinedByLink
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionChatMigrateTo
impl TryFrom<MessageAction> for MessageActionChatMigrateTo
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionConferenceCall
impl TryFrom<MessageAction> for MessageActionConferenceCall
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionCustomAction
impl TryFrom<MessageAction> for MessageActionCustomAction
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGameScore
impl TryFrom<MessageAction> for MessageActionGameScore
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGeoProximityReached
impl TryFrom<MessageAction> for MessageActionGeoProximityReached
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGiftCode
impl TryFrom<MessageAction> for MessageActionGiftCode
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGiftPremium
impl TryFrom<MessageAction> for MessageActionGiftPremium
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGiftStars
impl TryFrom<MessageAction> for MessageActionGiftStars
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGiftTon
impl TryFrom<MessageAction> for MessageActionGiftTon
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGiveawayLaunch
impl TryFrom<MessageAction> for MessageActionGiveawayLaunch
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGiveawayResults
impl TryFrom<MessageAction> for MessageActionGiveawayResults
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGroupCall
impl TryFrom<MessageAction> for MessageActionGroupCall
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionGroupCallScheduled
impl TryFrom<MessageAction> for MessageActionGroupCallScheduled
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionInviteToGroupCall
impl TryFrom<MessageAction> for MessageActionInviteToGroupCall
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionNewCreatorPending
impl TryFrom<MessageAction> for MessageActionNewCreatorPending
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionNoForwardsRequest
impl TryFrom<MessageAction> for MessageActionNoForwardsRequest
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionNoForwardsToggle
impl TryFrom<MessageAction> for MessageActionNoForwardsToggle
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPaidMessagesPrice
impl TryFrom<MessageAction> for MessageActionPaidMessagesPrice
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPaidMessagesRefunded
impl TryFrom<MessageAction> for MessageActionPaidMessagesRefunded
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPaymentRefunded
impl TryFrom<MessageAction> for MessageActionPaymentRefunded
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPaymentSent
impl TryFrom<MessageAction> for MessageActionPaymentSent
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPaymentSentMe
impl TryFrom<MessageAction> for MessageActionPaymentSentMe
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPhoneCall
impl TryFrom<MessageAction> for MessageActionPhoneCall
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionPrizeStars
impl TryFrom<MessageAction> for MessageActionPrizeStars
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionRequestedPeer
impl TryFrom<MessageAction> for MessageActionRequestedPeer
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionRequestedPeerSentMe
impl TryFrom<MessageAction> for MessageActionRequestedPeerSentMe
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSecureValuesSent
impl TryFrom<MessageAction> for MessageActionSecureValuesSent
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSecureValuesSentMe
impl TryFrom<MessageAction> for MessageActionSecureValuesSentMe
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSetChatTheme
impl TryFrom<MessageAction> for MessageActionSetChatTheme
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSetChatWallPaper
impl TryFrom<MessageAction> for MessageActionSetChatWallPaper
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSetMessagesTtl
impl TryFrom<MessageAction> for MessageActionSetMessagesTtl
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionStarGift
impl TryFrom<MessageAction> for MessageActionStarGift
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionStarGiftPurchaseOffer
impl TryFrom<MessageAction> for MessageActionStarGiftPurchaseOffer
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionStarGiftPurchaseOfferDeclined
impl TryFrom<MessageAction> for MessageActionStarGiftPurchaseOfferDeclined
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionStarGiftUnique
impl TryFrom<MessageAction> for MessageActionStarGiftUnique
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSuggestBirthday
impl TryFrom<MessageAction> for MessageActionSuggestBirthday
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSuggestProfilePhoto
impl TryFrom<MessageAction> for MessageActionSuggestProfilePhoto
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSuggestedPostApproval
impl TryFrom<MessageAction> for MessageActionSuggestedPostApproval
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSuggestedPostRefund
impl TryFrom<MessageAction> for MessageActionSuggestedPostRefund
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionSuggestedPostSuccess
impl TryFrom<MessageAction> for MessageActionSuggestedPostSuccess
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionTodoAppendTasks
impl TryFrom<MessageAction> for MessageActionTodoAppendTasks
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionTodoCompletions
impl TryFrom<MessageAction> for MessageActionTodoCompletions
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionTopicCreate
impl TryFrom<MessageAction> for MessageActionTopicCreate
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionTopicEdit
impl TryFrom<MessageAction> for MessageActionTopicEdit
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionWebViewDataSent
impl TryFrom<MessageAction> for MessageActionWebViewDataSent
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
Source§impl TryFrom<MessageAction> for MessageActionWebViewDataSentMe
impl TryFrom<MessageAction> for MessageActionWebViewDataSentMe
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageAction
Auto Trait Implementations§
impl Freeze for MessageAction
impl RefUnwindSafe for MessageAction
impl Send for MessageAction
impl Sync for MessageAction
impl Unpin for MessageAction
impl UnsafeUnpin for MessageAction
impl UnwindSafe for MessageAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more