[][src]Trait telegram_bot::types::requests::send_contact::CanSendContact

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

Send phone contact.

Required methods

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

Loading content...

Implementors

impl<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C where
    C: ToChatRef
[src]

Loading content...