Package io.appmetrica.analytics.profile
Class FirstPartyDataTelegramLoginSha256Attribute
java.lang.Object
io.appmetrica.analytics.profile.FirstPartyDataTelegramLoginSha256Attribute
Attribute for setting the user's Telegram login hash.
The Telegram login values will be normalized and hashed using SHA-256 before sending.
Supports setting multiple Telegram login values (up to 10).
-
Method Summary
Modifier and TypeMethodDescriptionUserProfileUpdate<? extends io.appmetrica.analytics.impl.profile.UserProfileUpdatePatcher> withTelegramLoginValues(Iterable<String> values) Sets multiple Telegram login values for the attribute from an iterable.UserProfileUpdate<? extends io.appmetrica.analytics.impl.profile.UserProfileUpdatePatcher> withTelegramLoginValues(String... values) Sets multiple Telegram login values for the attribute.
-
Method Details
-
withTelegramLoginValues
@NonNull public UserProfileUpdate<? extends io.appmetrica.analytics.impl.profile.UserProfileUpdatePatcher> withTelegramLoginValues(@NonNull String... values) Sets multiple Telegram login values for the attribute. The values will be normalized and hashed using SHA-256 before sending. Maximum number of values is limited to 10. Drops any values above the limit.- Parameters:
values- the Telegram login values to set- Returns:
- the user profile update object
-
withTelegramLoginValues
@NonNull public UserProfileUpdate<? extends io.appmetrica.analytics.impl.profile.UserProfileUpdatePatcher> withTelegramLoginValues(@NonNull Iterable<String> values) Sets multiple Telegram login values for the attribute from an iterable. The values will be normalized and hashed using SHA-256 before sending. Maximum number of values is limited to 10. Drops any values above the limit.- Parameters:
values- the Telegram login values to set- Returns:
- the user profile update object
-