Versions in this module Expand all Collapse all v0 v0.0.3 Jun 11, 2024 Changes in this version + func CheckSignature(userId int, authKeyId, deviceToken, signatureBase64, publicKey string) (bool, error) v0.0.2 Jun 10, 2024 Changes in this version + func DecodeBase64(encoded string) (string, error) + func GetAuthorization(cookie string) (string, error) + func GetDeviceToken(cookie string) (string, error) + type Language string + const Arabic + const English + const French + const Hindi + const Indonesian + const Persian + const Russian + const Spanish + const Turkish + const Urdu + type Platform string + const Android + const IOS + type User struct + FirstName string + Language Language + LastName string + Platform Platform + UserID int + UserNickname string + UserToken string + Version string + func GetUser(cookie string) (*User, error)