[][src]Trait telegram_bot::types::requests::CanReplySendContact

pub trait CanReplySendContact {
    pub fn contact_reply<'p, 'f, 'l, P, F>(
        &self,
        phone_number: P,
        first_name: F
    ) -> SendContact<'p, 'f, 'l>
    where
        P: 'p + Into<Cow<'p, str>>,
        F: 'f + Into<Cow<'f, str>>
; }

Reply with phone contact.

Required methods

pub fn contact_reply<'p, 'f, 'l, P, F>(
    &self,
    phone_number: P,
    first_name: F
) -> SendContact<'p, 'f, 'l> where
    P: 'p + Into<Cow<'p, str>>,
    F: 'f + Into<Cow<'f, str>>, 
[src]

Loading content...

Implementors

impl<M> CanReplySendContact for M where
    M: ToMessageId + ToSourceChat
[src]

Loading content...