castAnswer

fun castAnswer(message: Message, poll: Poll, answer: String)

Cast an answer for a poll in a message.

Parameters

message

The message where the poll is.

poll

The poll that want to be casted an answer.

answer

The answer that should be casted.