telegram api method · layer 229 · #c4f9186b

help.getConfig

usable by users and bots

Returns current configuration, including data center configuration.

definition

help.getConfig#c4f9186b = Config;

parameters

no parameters

returns

Config

errors (8)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400CONNECTION_API_ID_INVALIDThe provided API id is invalid.
400CONNECTION_APP_VERSION_EMPTYApp version is empty.
400CONNECTION_LAYER_INVALIDLayer invalid.
400DATA_INVALIDEncrypted data invalid.
400MSG_ID_INVALIDInvalid message ID provided.
400USERNAME_INVALIDThe provided username is not valid.
403USER_PRIVACY_RESTRICTEDThe user's privacy settings do not allow you to do this.

history

present in layers 2–229

idlayers
#c4f9186b2–229