applyPoll

fun applyPoll(poll: Poll): Boolean

When you get updated polls from GroupChannel.getPollChangeLogsSinceToken or GroupChannel.getPollChangeLogsSinceTimestamp, you can update the user message's poll through this function If you use MessageCollection, messages in the collection are automatically updated, so don't need to call it

Return

whether the poll is updated or not

Since

4.1.0

Parameters

poll

an updated poll of this message.

See also

GroupChannel.getPollChangeLogsSinceTimestamp
GroupChannel.getPollChangeLogsSinceToken