TelegramBotAPI
common
tgbotapi.core
/
dev.inmo.tgbotapi.bot.exceptions
/
UnauthorizedException
Unauthorized
Exception
class
UnauthorizedException
(
val
response
:
Response
,
val
plainAnswer
:
String
,
message
:
String
?
,
cause
:
Throwable
?
)
:
RequestException
Members
Constructors
Unauthorized
Exception
Link copied to clipboard
constructor
(
response
:
Response
,
plainAnswer
:
String
,
message
:
String
?
,
cause
:
Throwable
?
)
Functions
create
Copy
Link copied to clipboard
open
override
fun
createCopy
(
)
:
BotException
Properties
plain
Answer
Link copied to clipboard
val
plainAnswer
:
String
response
Link copied to clipboard
val
response
:
Response