Struct rtdlib::types::GetChatSponsoredMessage
source[−]pub struct GetChatSponsoredMessage { /* private fields */ }
Expand description
Returns sponsored message to be shown in a chat; for channel chats only. Returns a 404 error if there is no sponsored message in the chat
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for GetChatSponsoredMessage
impl Send for GetChatSponsoredMessage
impl Sync for GetChatSponsoredMessage
impl Unpin for GetChatSponsoredMessage
impl UnwindSafe for GetChatSponsoredMessage
Blanket Implementations
Mutably borrows from an owned value. Read more