Config class
Config.
ID: cc1a241e
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- ConfigBase
- Config
Constructors
-
Config({required bool defaultP2pContacts, required bool preloadFeaturedStickers, required bool revokePmInbox, required bool blockedMode, required bool forceTryIpv6, required DateTime date, required DateTime expires, required bool testMode, required int thisDc, required List<
DcOptionBase> dcOptions, required String dcTxtDomainName, required int chatSizeMax, required int megagroupSizeMax, required int forwardedCountMax, required int onlineUpdatePeriodMs, required int offlineBlurTimeoutMs, required int offlineIdleTimeoutMs, required int onlineCloudTimeoutMs, required int notifyCloudDelayMs, required int notifyDefaultDelayMs, required int pushChatPeriodMs, required int pushChatLimit, required int editTimeLimit, required int revokeTimeLimit, required int revokePmTimeLimit, required int ratingEDecay, required int stickersRecentLimit, required int channelsReadMediaPeriod, int? tmpSessions, required int callReceiveTimeoutMs, required int callRingTimeoutMs, required int callConnectTimeoutMs, required int callPacketTimeoutMs, required String meUrlPrefix, String? autoupdateUrlPrefix, String? gifSearchUsername, String? venueSearchUsername, String? imgSearchUsername, String? staticMapsProvider, required int messageLengthMax, required int webfileDcId, String? suggestedLangCode, int? langPackVersion, int? baseLangPackVersion, ReactionBase? reactionsDefault, String? autologinToken}) -
Config constructor.
const
- Config.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- autologinToken → String?
-
Autologin Token.
final
- autoupdateUrlPrefix → String?
-
Autoupdate Url Prefix.
final
- baseLangPackVersion → int?
-
Base Lang Pack Version.
final
- blockedMode → bool
-
blocked_mode: bit 8 of flags.8?true
final
- callConnectTimeoutMs → int
-
Call Connect Timeout Ms.
final
- callPacketTimeoutMs → int
-
Call Packet Timeout Ms.
final
- callReceiveTimeoutMs → int
-
Call Receive Timeout Ms.
final
- callRingTimeoutMs → int
-
Call Ring Timeout Ms.
final
-
Caption Length Max.
final
- channelsReadMediaPeriod → int
-
Channels Read Media Period.
final
- chatSizeMax → int
-
Chat Size Max.
final
- date → DateTime
-
Date.
final
-
dcOptions
→ List<
DcOptionBase> -
Dc Options.
final
- dcTxtDomainName → String
-
Dc Txt Domain Name.
final
- defaultP2pContacts → bool
-
default_p2p_contacts: bit 3 of flags.3?true
final
- editTimeLimit → int
-
Edit Time Limit.
final
- expires → DateTime
-
Expires.
final
- flags → int
-
Flags.
no setter
- forceTryIpv6 → bool
-
force_try_ipv6: bit 14 of flags.14?true
final
- forwardedCountMax → int
-
Forwarded Count Max.
final
- gifSearchUsername → String?
-
Gif Search Username.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imgSearchUsername → String?
-
Img Search Username.
final
- langPackVersion → int?
-
Lang Pack Version.
final
- megagroupSizeMax → int
-
Megagroup Size Max.
final
- messageLengthMax → int
-
Message Length Max.
final
- meUrlPrefix → String
-
Me Url Prefix.
final
- notifyCloudDelayMs → int
-
Notify Cloud Delay Ms.
final
- notifyDefaultDelayMs → int
-
Notify Default Delay Ms.
final
- offlineBlurTimeoutMs → int
-
Offline Blur Timeout Ms.
final
- offlineIdleTimeoutMs → int
-
Offline Idle Timeout Ms.
final
- onlineCloudTimeoutMs → int
-
Online Cloud Timeout Ms.
final
- onlineUpdatePeriodMs → int
-
Online Update Period Ms.
final
- preloadFeaturedStickers → bool
-
preload_featured_stickers: bit 4 of flags.4?true
final
- pushChatLimit → int
-
Push Chat Limit.
final
- pushChatPeriodMs → int
-
Push Chat Period Ms.
final
- ratingEDecay → int
-
Rating E Decay.
final
- reactionsDefault → ReactionBase?
-
Reactions Default.
final
- revokePmInbox → bool
-
revoke_pm_inbox: bit 6 of flags.6?true
final
- revokePmTimeLimit → int
-
Revoke Pm Time Limit.
final
- revokeTimeLimit → int
-
Revoke Time Limit.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staticMapsProvider → String?
-
Static Maps Provider.
final
- stickersRecentLimit → int
-
Stickers Recent Limit.
final
- suggestedLangCode → String?
-
Suggested Lang Code.
final
- testMode → bool
-
Test Mode.
final
- thisDc → int
-
This Dc.
final
- tmpSessions → int?
-
Tmp Sessions.
final
- venueSearchUsername → String?
-
Venue Search Username.
final
- webfileDcId → int
-
Webfile Dc Id.
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