Trait telegram_bot::prelude::CanSendContact
[−]
[src]
pub trait CanSendContact<'p, 'f, 'l> { fn contact<P, F>(
&self,
phone_number: P,
first_name: F
) -> SendContact<'p, 'f, 'l>
where
F: Into<Cow<'f, str>>,
P: Into<Cow<'p, str>>; }
Send phone contact.
Required Methods
fn contact<P, F>(
&self,
phone_number: P,
first_name: F
) -> SendContact<'p, 'f, 'l> where
F: Into<Cow<'f, str>>,
P: Into<Cow<'p, str>>,
&self,
phone_number: P,
first_name: F
) -> SendContact<'p, 'f, 'l> where
F: Into<Cow<'f, str>>,
P: Into<Cow<'p, str>>,
Implementors
impl<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C where
C: ToChatRef,