pub struct CreateChannel {
pub broadcast: bool,
pub megagroup: bool,
pub for_import: bool,
pub forum: bool,
pub title: String,
pub about: String,
pub geo_point: Option<InputGeoPoint>,
pub address: Option<String>,
pub ttl_period: Option<i32>,
}Expand description
Generated from:
channels.createChannel#91006707 flags:# broadcast:flags.0?true megagroup:flags.1?true for_import:flags.3?true forum:flags.5?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string ttl_period:flags.4?int = UpdatesFields§
§broadcast: bool§megagroup: bool§for_import: bool§forum: bool§title: String§about: String§geo_point: Option<InputGeoPoint>§address: Option<String>§ttl_period: Option<i32>Trait Implementations§
Source§impl Clone for CreateChannel
impl Clone for CreateChannel
Source§fn clone(&self) -> CreateChannel
fn clone(&self) -> CreateChannel
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 CreateChannel
impl Debug for CreateChannel
Source§impl Identifiable for CreateChannel
impl Identifiable for CreateChannel
Source§const CONSTRUCTOR_ID: u32 = 0x91006707
const CONSTRUCTOR_ID: u32 = 0x91006707
The constructor ID as specified in the TL schema.
Source§impl PartialEq for CreateChannel
impl PartialEq for CreateChannel
Source§impl RemoteCall for CreateChannel
impl RemoteCall for CreateChannel
Source§impl Serializable for CreateChannel
impl Serializable for CreateChannel
impl StructuralPartialEq for CreateChannel
Auto Trait Implementations§
impl Freeze for CreateChannel
impl RefUnwindSafe for CreateChannel
impl Send for CreateChannel
impl Sync for CreateChannel
impl Unpin for CreateChannel
impl UnsafeUnpin for CreateChannel
impl UnwindSafe for CreateChannel
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