[][src]Trait telegram_bot_raw::requests::send_contact::CanSendContact

pub trait CanSendContact<'p, 'f, 'l> {
    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

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...