# Functions
AsMap attempts to convert the provided input to a map[string]interface{}.
BotIDFromToken extracts and returns the bot ID from the provided token string.
Dump pretty print TDLib object.
Check if a value is a boolean.
Check if a value can be parsed as an integer.
KeyExists checks whether the specified key exists in the given map[string]interface{}.
MakeError creates a map representing TDLib error with the given code and message.
MakeObject creates a map with the given requestType and additional parameters.
Marshal encodes the provided map[string]interface{} input into a JSON string.
MarshalWithIndent encodes the provided map[string]interface{} input into a 4-indented JSON string.
NewIdGenerator creates and returns a new instance of IdGenerator,.
NewSafeResultsMap creates and returns a new SafeResultsMap instance.
PanicOnErr checks the error or boolean value and either panics or exits based on the exit flag.
Type returns the "@type" field from the provided TDLib object as a string.
Unmarshal decodes the input JSON string into a map[string]interface{}.
UnsafeMarshal encodes the provided map[string]interface{} input into a JSON string.
UnsafeMarshalWithIndent encodes the provided map[string]interface{} input into an indented JSON string.
UnsafeUnmarshal decodes the input JSON string into a map[string]interface{}.
# Structs
IdGenerator is a thread-safe generator for unique request IDs.
SafeResultsMap is a thread-safe map for managing channels associated with TDLib responses to requests.
# Type aliases
Params represents a map of string keys to interface{} values, used to store various parameters in requests and responses.