Skip to content

langpack.getLanguage

langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage;

LangPackLanguage

Name Type Flag Default Description
lang_pack string — —
lang_code string — —
from miniproto.raw.functions import LangpackGetLanguage

Public access: miniproto.raw.functions.LangpackGetLanguage.

LangPackLanguage

Code Error Description
400 BUSINESS_CONNECTION_NOT_ALLOWED This 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.
400 LANG_CODE_NOT_SUPPORTED The specified language code is not supported.
400 LANG_PACK_INVALID The provided language pack is invalid.

No non-primitive type relationships were found.

LangPackLanguage Known selected constructors: langPackLanguage

langpack.getLanguages

  • unauthenticated allowed
  • user only

Schema sources