Trait teloxide_core::payloads::GetFileSetters

source ·
pub trait GetFileSetters: HasPayload<Payload = GetFile> + Sized {
    // Provided method
    fn file_id<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of GetFile

Provided Methods§

source

fn file_id<T>(self, value: T) -> Self
where T: Into<String>,

Setter for file_id field.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P> GetFileSetters for P
where P: HasPayload<Payload = GetFile>,