pub struct Gif { /* private fields */ }Expand description
Represents an InlineQueryResultGif/InlineQueryResultCachedGif.
Implementations§
source§impl Gif
impl Gif
sourcepub const fn with_cached(id: Id) -> Self
pub const fn with_cached(id: Id) -> Self
Constructs a cached Gif result.
sourcepub const fn with_fresh(gif: Fresh) -> Self
pub const fn with_fresh(gif: Fresh) -> Self
Constructs a fresh Gif 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.