[−][src]Struct actix_telegram::methods::SendMediaGroup
Use this method to send a group of photos or videos as an album. On success, an array of the sent Messages is returned.
Methods
impl SendMediaGroup
[src]
impl SendMediaGroup
pub fn set_chat_id<__T: Into<ChatIdOrUsername>>( | [src] |
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
pub fn set_media<__T: Into<Vec<InputMediaPhotoOrInputMediaVideo>>>( | [src] |
A JSON-serialized array describing photos and videos to be sent, must include 2–10 items
pub fn set_disable_notification<__T: Into<Option<bool>>>( | [src] |
Sends the messages silently. Users will receive a notification with no sound.
pub fn set_reply_to_message_id<__T: Into<Option<Integer>>>( | [src] |
If the messages are a reply, ID of the original message
impl SendMediaGroup
[src]
impl SendMediaGroup
pub fn new( | [src] |
Trait Implementations
impl Debug for SendMediaGroup
[src]
impl Debug for SendMediaGroup
impl Message for SendMediaGroup
[src]
impl Message for SendMediaGroup
type Result = Result<Vec<Message>, ()>
The type of value that this message will resolved with if it is successful. Read more
impl Handler<SendMediaGroup> for TelegramApi
[src]
impl Handler<SendMediaGroup> for TelegramApi
type Result = Box<dyn Future<Item = Vec<Message>, Error = ()>>
The type of value that this handle will return
fn handle( | [src] |
impl Serialize for SendMediaGroup
[src]
impl Serialize for SendMediaGroup
Auto Trait Implementations
impl Send for SendMediaGroup
impl Send for SendMediaGroup
impl !Sync for SendMediaGroup
impl !Sync for SendMediaGroup
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T