ChannelsCreateChannel class

Channels Create Channel.

Return Type: UpdatesBase. ID: 91006707.

Inheritance

Constructors

ChannelsCreateChannel({required bool broadcast, required bool megagroup, required bool forImport, required bool forum, required String title, required String about, InputGeoPointBase? geoPoint, String? address, int? ttlPeriod})
Channels Create Channel constructor.
const
ChannelsCreateChannel.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

about String
About.
final
address String?
Address.
final
broadcast bool
broadcast: bit 0 of flags.0?true
final
flags int
Flags.
no setter
forImport bool
for_import: bit 3 of flags.3?true
final
forum bool
forum: bit 5 of flags.5?true
final
geoPoint InputGeoPointBase?
Geo Point.
final
hashCode int
The hash code for this object.
no setterinherited
megagroup bool
megagroup: bit 1 of flags.1?true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Title.
final
ttlPeriod int?
Ttl Period.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited