Struct clacks_mtproto::mtproto::bot_inline::MediaResult
[−]
[src]
pub struct MediaResult { pub id: string, pub type_: string, pub photo: Option<Photo>, pub document: Option<Document>, pub title: Option<string>, pub description: Option<string>, pub send_message: BotInlineMessage, }
TL-derived from botInlineMediaResult
botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;
Fields
id: string
type_: string
photo: Option<Photo>
document: Option<Document>
title: Option<string>
description: Option<string>
send_message: BotInlineMessage
Trait Implementations
impl Debug for MediaResult
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for MediaResult
[src]
fn clone(&self) -> MediaResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more