pub struct Mpeg4Gif { /* private fields */ }Expand description
Represents an InlineQueryResultMpeg4Gif/InlineQueryResultCachedMpeg4Gif.
Implementations§
source§impl Mpeg4Gif
impl Mpeg4Gif
sourcepub const fn with_cached(id: Id) -> Self
pub const fn with_cached(id: Id) -> Self
Constructs a cached Mpeg4Gif result.
sourcepub const fn with_fresh(gif: Fresh) -> Self
pub const fn with_fresh(gif: Fresh) -> Self
Constructs a fresh Mpeg4Gif result.
sourcepub fn input_message_content(
self,
content: impl Into<InputMessageContent>
) -> Self
pub fn input_message_content(
self,
content: impl Into<InputMessageContent>
) -> Self
Configures the content shown after sending the message.