[][src]Trait telegram_bot_fork_raw::requests::send_contact::CanReplySendContact

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

Reply with phone contact.

Required methods

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

Loading content...

Implementors

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

Loading content...