Base64 is basically a file encoded as a string.
Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Learn more here: https://developer.mozilla.org/en-US/docs/Glossary/Base64
A chat id ends with @c.us
or @g.us
for group chats.
Example:
A group chat: "447123456789-1445627445@g.us"
A group chat: "447123456789@g.us"
The suffix used to identify a non-group chat id
A contact id ends with @c.us
and only contains the number of the contact. For example, if the country code of a contact is 44
and their number is 7123456789
then the contact id would be 447123456789@c.us
Example:
"447123456789@c.us"
This is a generic type alias for the content of a message
Example:
"hello!"
Type alias representing all available country codes
Data URLs, URLs prefixed with the data: scheme, allow content creators to embed small files inline in documents. They were formerly known as "data URIs" until that name was retired by the WHATWG.
Data URLs are composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself:
Example:
"data:[<mediatype>][;base64],<data>"
Learn more here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
The relative or absolute path of a file
Learn more here: https://www.w3schools.com/html/html_filepaths.asp
A group chat ends with @g.us
and usually has two parts, the timestamp of when it was created, and the user id of the number that created the group. For example [creator number]-[timestamp]@g.us
Example:
"447123456789-1445627445@g.us"
The suffix used to identify a group chat id
The id of a message. The format is [boolean]_[ChatId]_[random character string]
Example:
"false_447123456789@c.us_9C4D0965EA5C09D591334AB6BDB07FEB"
A type alias for all available "servers"
The account number. It is made up of a country code and then the local number without the preceeding 0. For example, if a UK (+44) wa account is linked to the number 07123456789 then the account number will be 447123456789.