Skip to content

langpack.getLangPack

langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;

LangPackDifference

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

Public access: miniproto.raw.functions.LangpackGetLangPack.

LangPackDifference

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 LANGUAGE_INVALID The specified lang_code is invalid.
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.

LangPackDifference Known selected constructors: langPackDifference

langpack.getDifference

  • unauthenticated allowed
  • user only

Schema sources