pub struct InputBusinessStartPage {
pub title: String,
pub message: String,
pub sticker: Option<InputFile>,
}
Expand description
Describes settings for a business account start page to set
Fields§
§title: String
Title text of the start page; 0-getOption(“business_start_page_title_length_max”) characters
message: String
Message text of the start page; 0-getOption(“business_start_page_message_length_max”) characters
sticker: Option<InputFile>
Greeting sticker of the start page; pass null if none. The sticker must belong to a sticker set and must not be a custom emoji
Trait Implementations§
Source§impl Clone for InputBusinessStartPage
impl Clone for InputBusinessStartPage
Source§fn clone(&self) -> InputBusinessStartPage
fn clone(&self) -> InputBusinessStartPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InputBusinessStartPage
impl Debug for InputBusinessStartPage
Source§impl Default for InputBusinessStartPage
impl Default for InputBusinessStartPage
Source§fn default() -> InputBusinessStartPage
fn default() -> InputBusinessStartPage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputBusinessStartPage
impl<'de> Deserialize<'de> for InputBusinessStartPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InputBusinessStartPage
impl PartialEq for InputBusinessStartPage
Source§impl Serialize for InputBusinessStartPage
impl Serialize for InputBusinessStartPage
impl StructuralPartialEq for InputBusinessStartPage
Auto Trait Implementations§
impl Freeze for InputBusinessStartPage
impl RefUnwindSafe for InputBusinessStartPage
impl Send for InputBusinessStartPage
impl Sync for InputBusinessStartPage
impl Unpin for InputBusinessStartPage
impl UnwindSafe for InputBusinessStartPage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more