Expand description
Β§Constants.
EnumsΒ§
- Blocked
- Chattype
- Chat type.
- Media
Quality - Show
Emails - Videochat
Type - Video chat URL type.
ConstantsΒ§
- ASM_
BODY π - ASM_
SUBJECT π - BALANCED_
AVATAR_ πBYTES - BALANCED_
AVATAR_ πSIZE - BALANCED_
IMAGE_ BYTES - BALANCED_
IMAGE_ SIZE - DC_
BACKGROUND_ πFETCH_ QUOTA_ CHECK_ RATELIMIT - How far the last quota check needs to be in the past to be checked by the background function (in seconds).
- DC_
CHAT_ ID_ ALLDONE_ HINT - only an indicator in a chatlist
- DC_
CHAT_ ID_ ARCHIVED_ LINK - only an indicator in a chatlist
- DC_
CHAT_ ID_ LAST_ SPECIAL - larger chat IDs are βrealβ chats, their messages are βrealβ messages.
- DC_
CHAT_ ID_ TRASH - messages that should be deleted get this chat_id; the messages are deleted from the working thread later then. This is also needed as rfc724_mid should be preset as long as the message is not deleted on the server (otherwise it is downloaded again)
- DC_
DESIRED_ TEXT_ LEN - Message length limit.
- DC_
DESIRED_ TEXT_ LINES - DC_
DESIRED_ TEXT_ LINE_ LEN - DC_
ELLIPSIS π - String that indicates that something is left out or truncated.
- DC_
FOLDERS_ πCONFIGURED_ KEY - DC_
FOLDERS_ πCONFIGURED_ VERSION - DC_
FROM_ πHANDSHAKE - DC_
GCL_ ADD_ ALLDONE_ HINT - DC_
GCL_ ADD_ SELF - DC_
GCL_ ARCHIVED_ ONLY - DC_
GCL_ FOR_ FORWARDING - DC_
GCL_ NO_ SPECIALS - DC_
GCL_ VERIFIED_ ONLY - DC_
HANDSHAKE_ ADD_ DELETE_ JOB - DC_
HANDSHAKE_ CONTINUE_ NORMAL_ PROCESSING - DC_
HANDSHAKE_ STOP_ NORMAL_ PROCESSING - DC_
LP_ AUTH_ FLAGS - if none of these flags are set, the default is chosen
- DC_
LP_ AUTH_ NORMAL - Force NORMAL authorization, this is the default. If this flag is set, automatic configuration is skipped.
- DC_
LP_ AUTH_ OAUT H2 - Force OAuth2 authorization.
- DC_
MSG_ ID_ DAYMARKER - DC_
MSG_ ID_ LAST_ SPECIAL - DC_
OUTDATED_ πWARNING_ DAYS - DC_
RESEND_ πUSER_ AVATAR_ DAYS - DEFAULT_
MAX_ πSMTP_ RCPT_ TO - EDITED_
PREFIX π - NON_
ALPHANUMERIC_ πWITHOUT_ DOT - Set of characters to percent-encode in email addresses and names.
- SECUREJOIN_
WAIT_ πTIMEOUT - How long a 1:1 chat canβt be used for sending while the SecureJoin is in progress. This should
be 10-20 seconds so that we are reasonably sure that the app remains active and receiving also
on mobile devices. See also
crate::chat::CantSendReason::SecurejoinWait
. - TIMESTAMP_
SENT_ πTOLERANCE - How far in the future the sender timestamp of a message is allowed to be, in seconds. Also used in the group membership consistency algo to reject outdated membership changes.
- WORSE_
AVATAR_ πBYTES - WORSE_
AVATAR_ πSIZE - WORSE_
IMAGE_ BYTES - WORSE_
IMAGE_ SIZE