dc_message_from_id

dc_message_from_id(id, channel)#

Gets the message from the specified ID and channel.

Blocking function

Invoking this function can freeze the game. Use it in a task to avoid freezing your game.

Input parameters#

Parameter Type Description
id String, Number The ID of the message.
channel Channel The channel to get the message from.

Output values#

Return values#

Uncaught exceptions #

  • Throws an exception on failure.