Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/bun
utils
Module utils
Namespaces
links
Classes
BaseCryptoProvider
BaseService
CurrentUserService
DefaultDcsService
EarlyTimer
Logger
LogManager
LongMap
LongSet
RpsMeter
SortedArray
SortedLinkedList
TlBinaryReader
TlBinaryWriter
TlSerializationCounter
UpdatesStateService
Interfaces
BasicDcOption
CurrentUserInfo
DcOptions
IAesCtr
ICryptoProvider
IEncryptionScheme
InputStringSessionData
ServiceOptions
StringSessionData
Type Aliases
ThrottledFunction
TlReaderMap
TlWriterMap
Variables
defaultProductionDc
defaultProductionIpv6Dc
defaultTestDc
defaultTestIpv6Dc
INVITE_LINK_REGEX
Functions
addPublicKey
assertTrue
assertTypeIs
assertTypeIsNot
asyncResettable
compareLongs
computeNewPasswordHash
computePasswordHash
computeSrpParams
createAesIgeForMessage
createAesIgeForMessageOld
decodeWaveform
determinePartSize
encodeInlineMessageId
encodeWaveform
extractFileName
extractUsernames
factorizePQSync
fileIdToEncryptedFile
fileIdToInputDocument
fileIdToInputFileLocation
fileIdToInputPhoto
fileIdToInputWebFileLocation
fileIdToSecureFile
findKeyByFingerprints
generateKeyAndIvFromNonce
getRandomInt
hasValueAtKey
inflateSvgPath
inputPeerToPeer
isInputPeerChannel
isInputPeerChat
isInputPeerUser
isPresent
isProbablyPlainText
isTlRpcError
joinTextWithEntities
jsonToTlJson
longFromBuffer
longFromFastString
longToFastString
makeArrayPaginated
makeArrayWithTotal
makeInspectable
millerRabin
mtpAssertTypeIs
normalizeDate
normalizeInlineId
normalizeMessageId
normalizePhoneNumber
parseBasicDcOption
parseInlineMessageId
parsePublicKey
randomBigInt
randomBigIntBits
randomBigIntInRange
randomLong
readStringSession
removeFromLongArray
resolveMaybeDynamic
serializeBasicDcOption
sleepWithAbort
streamToBuffer
strippedPhotoToJpg
svgPathToFile
throttle
tlJsonToJson
toInputChannel
toInputPeer
toInputUser
writeStringSession
References
getAllPeersFrom
→
getAllPeersFrom
getBarePeerId
→
getBarePeerId
getMarkedPeerId
→
getMarkedPeerId
parseMarkedPeerId
→
parseMarkedPeerId
toggleChannelIdMark
→
toggleChannelIdMark
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Namespaces
links
Classes
Base
Crypto
Provider
Base
Service
Current
User
Service
Default
Dcs
Service
Early
Timer
Logger
Log
Manager
Long
Map
Long
Set
Rps
Meter
Sorted
Array
Sorted
Linked
List
Tl
Binary
Reader
Tl
Binary
Writer
Tl
Serialization
Counter
Updates
State
Service
Interfaces
Basic
Dc
Option
Current
User
Info
Dc
Options
IAes
Ctr
ICrypto
Provider
IEncryption
Scheme
Input
String
Session
Data
Service
Options
String
Session
Data
Type Aliases
Throttled
Function
Tl
Reader
Map
Tl
Writer
Map
Variables
default
Production
Dc
default
Production
Ipv6
Dc
default
Test
Dc
default
Test
Ipv6
Dc
INVITE_
LINK_
REGEX
Functions
add
Public
Key
assert
True
assert
Type
Is
assert
Type
Is
Not
async
Resettable
compare
Longs
compute
New
Password
Hash
compute
Password
Hash
compute
Srp
Params
create
Aes
Ige
For
Message
create
Aes
Ige
For
Message
Old
decode
Waveform
determine
Part
Size
encode
Inline
Message
Id
encode
Waveform
extract
File
Name
extract
Usernames
factorizePQSync
file
Id
To
Encrypted
File
file
Id
To
Input
Document
file
Id
To
Input
File
Location
file
Id
To
Input
Photo
file
Id
To
Input
Web
File
Location
file
Id
To
Secure
File
find
Key
By
Fingerprints
generate
Key
And
Iv
From
Nonce
get
Random
Int
has
Value
At
Key
inflate
Svg
Path
input
Peer
To
Peer
is
Input
Peer
Channel
is
Input
Peer
Chat
is
Input
Peer
User
is
Present
is
Probably
Plain
Text
is
Tl
Rpc
Error
join
Text
With
Entities
json
To
Tl
Json
long
From
Buffer
long
From
Fast
String
long
To
Fast
String
make
Array
Paginated
make
Array
With
Total
make
Inspectable
miller
Rabin
mtp
Assert
Type
Is
normalize
Date
normalize
Inline
Id
normalize
Message
Id
normalize
Phone
Number
parse
Basic
Dc
Option
parse
Inline
Message
Id
parse
Public
Key
random
Big
Int
random
Big
Int
Bits
random
Big
Int
In
Range
random
Long
read
String
Session
remove
From
Long
Array
resolve
Maybe
Dynamic
serialize
Basic
Dc
Option
sleep
With
Abort
stream
To
Buffer
stripped
Photo
To
Jpg
svg
Path
To
File
throttle
tl
Json
To
Json
to
Input
Channel
to
Input
Peer
to
Input
User
write
String
Session
References
get
All
Peers
From
get
Bare
Peer
Id
get
Marked
Peer
Id
parse
Marked
Peer
Id
toggle
Channel
Id
Mark
Documentation - v0.19.5
Loading...