asTelegram
Casts this LinkedAccountOAuth2 as a Telegram and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.OAuth2Authentication value. Throws an exception if the LinkedAccountOAuth2 is not a Telegram.
Casts this LinkedAccountOAuth2 as a Telegram and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.OAuth2Authentication value. Throws an exception if the LinkedAccountOAuth2 is not a Telegram.