pub fn inline<T: Into<String>, B: Into<Vec<u8>>>(text: T, bytes: B) -> Inline {
    Inline(
        tl::types::KeyboardButtonCallback {
            text: text.into(),
            data: bytes.into(),
            requires_password: false,
        }
        .into(),
    )
}
/// An inline button, able to hold some arbitrary binary payload.
///
/// Although any combination of bytes can be used (including null, and not just UTF-8), [there is
/// a limit](https://core.telegram.org/bots/api#inlinekeyboardbutton) to how long the payload data
/// can be (see the description for the `callback_data` field for an up-to-date value). If you
/// need to store more data than that, consider storing the real data in some form of database,
/// and a reference to that data's row in the button's payload.
///
/// Both the text and bytes data must be non-empty.
An inline button, able to hold some arbitrary binary payload.
Although any combination of bytes can be used (including null, and not just UTF-8), [there is
a limit] to how long the payload data
can be . If you
need to store more data than that, consider storing the real data in some form of database,
and a reference to that data's row in the button's payload.

Both the text and bytes data must be non-empty.
An inline button able to hold some arbitrary binary payload . Although any combination of bytes can be used ( including null and not just UTF - 8 ) [ there is a limit ] to how long the payload data can be . If you need to store more data than that consider storing the real data in some form of database and a reference to that data ' s row in the button ' s payload . Both the text and bytes data must be non - empty .
pub fn inline<T: Into<String>, B: Into<Vec<u8>>>(text: T, bytes: B) -> Inline {
    Inline(
        tl::types::KeyboardButtonCallback {
            text: text.into(),
            data: bytes.into(),
            requires_password: false,
        }
        .into(),
    )
}
pub fn inline < T : Into < String > , B : Into < Vec < u8 > > > ( text : T , bytes : B ) -> Inline { Inline ( tl :: types :: KeyboardButtonCallback { text : text . into ( ) , data : bytes . into ( ) , requires_password : false , } . into ( ) , ) }
An inline button, able to hold some arbitrary binary payload.
An inline button able to hold some arbitrary binary payload .
text
T
bytes
B
text
T
bytes
B