1.1 Objects | BotWebhookEvent and GuildWebhookEvent - Hopeful-Developers/topggwebhooks4j GitHub Wiki
BotWebhookEvent
/ GuildWebhookEvent
BotWebhookEvent
method | return-type | purpose |
---|---|---|
getVote() |
BotVoteData | Returns the VoteData Object associated with the corresponding webhook |
isValid() |
Boolean | This method returns if the request data is valid or not. |
isAuthorized() |
Boolean | This method tells you if the request your webhook received is authorized or not. |
getRequestString() |
String | returns the voting-data |
getListenerAuthorization() |
String | ---------- |
getListener() |
BotWebhookListener | ---------- |
getRequestAuthorization() |
String | ---------- |
GuildWebhookEvent
method | return-type | purpose |
---|---|---|
getVote() |
GuildVoteData | Returns the VoteData Object associated with the corresponding webhook |
isValid() |
Boolean | This method returns if the request data is valid or not. |
isAuthorized() |
Boolean | This method tells you if the request your webhook received is authorized or not. |
getRequestString() |
String | returns the voting-data |
getListenerAuthorization() |
String | ---------- |
getListener() |
BotWebhookListener | ---------- |
getRequestAuthorization() |
String | ---------- |