Documentation ¶
Index ¶
- type LangpackCore
- func (c *LangpackCore) LangpackGetDifference(in *mtproto.TLLangpackGetDifference) (*mtproto.LangPackDifference, error)
- func (c *LangpackCore) LangpackGetLangPack(in *mtproto.TLLangpackGetLangPack) (*mtproto.LangPackDifference, error)
- func (c *LangpackCore) LangpackGetLanguage(in *mtproto.TLLangpackGetLanguage) (*mtproto.LangPackLanguage, error)
- func (c *LangpackCore) LangpackGetLanguages(in *mtproto.TLLangpackGetLanguages) (*mtproto.Vector_LangPackLanguage, error)
- func (c *LangpackCore) LangpackGetStrings(in *mtproto.TLLangpackGetStrings) (*mtproto.Vector_LangPackString, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangpackCore ¶
type LangpackCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *LangpackCore
func (*LangpackCore) LangpackGetDifference ¶
func (c *LangpackCore) LangpackGetDifference(in *mtproto.TLLangpackGetDifference) (*mtproto.LangPackDifference, error)
LangpackGetDifference langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference;
func (*LangpackCore) LangpackGetLangPack ¶
func (c *LangpackCore) LangpackGetLangPack(in *mtproto.TLLangpackGetLangPack) (*mtproto.LangPackDifference, error)
LangpackGetLangPack langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;
func (*LangpackCore) LangpackGetLanguage ¶
func (c *LangpackCore) LangpackGetLanguage(in *mtproto.TLLangpackGetLanguage) (*mtproto.LangPackLanguage, error)
LangpackGetLanguage langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage;
func (*LangpackCore) LangpackGetLanguages ¶
func (c *LangpackCore) LangpackGetLanguages(in *mtproto.TLLangpackGetLanguages) (*mtproto.Vector_LangPackLanguage, error)
LangpackGetLanguages langpack.getLanguages#42c6978f lang_pack:string = Vector<LangPackLanguage>;
func (*LangpackCore) LangpackGetStrings ¶
func (c *LangpackCore) LangpackGetStrings(in *mtproto.TLLangpackGetStrings) (*mtproto.Vector_LangPackString, error)
LangpackGetStrings langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;
Click to show internal directories.
Click to hide internal directories.