Class PassportData
java.lang.Object
io.micronaut.chatbots.telegram.api.PassportData
Contains information about Telegram Passport data shared with the bot by the user.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
void
setCredentials
(EncryptedCredentials credentials) void
setData
(List<EncryptedPassportElement> data) toString()
-
Constructor Details
-
PassportData
public PassportData()
-
-
Method Details
-
getData
- Returns:
- List with information about documents and other Telegram Passport elements that was shared with the bot.
-
setData
- Parameters:
data
- Array with information about documents and other Telegram Passport elements that was shared with the bot.
-
getCredentials
- Returns:
- Encrypted credentials required to decrypt the data.
-
setCredentials
- Parameters:
credentials
- Encrypted credentials required to decrypt the data.
-
toString
-