AttachMenuBot class

Attach Menu Bot.

ID: d90d8dfe.

Inheritance

Constructors

AttachMenuBot({required bool inactive, required bool hasSettings, required bool requestWriteAccess, required bool showInAttachMenu, required bool showInSideMenu, required bool sideMenuDisclaimerNeeded, required int botId, required String shortName, List<AttachMenuPeerTypeBase>? peerTypes, required List<AttachMenuBotIconBase> icons})
Attach Menu Bot constructor.
const
AttachMenuBot.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

botId int
Bot Id.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSettings bool
has_settings: bit 1 of flags.1?true
final
icons List<AttachMenuBotIconBase>
Icons.
final
inactive bool
inactive: bit 0 of flags.0?true
final
peerTypes List<AttachMenuPeerTypeBase>?
Peer Types.
final
requestWriteAccess bool
request_write_access: bit 2 of flags.2?true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortName String
Short Name.
final
showInAttachMenu bool
show_in_attach_menu: bit 3 of flags.3?true
final
showInSideMenu bool
show_in_side_menu: bit 4 of flags.4?true
final
sideMenuDisclaimerNeeded bool
side_menu_disclaimer_needed: bit 5 of flags.5?true
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