Skip to content

Call

Implementation of the Discord Call class in Luau

https://discord.com/developers/docs/resources/message#message-call-object

Call.participants  :: { Snowflake }

Array of user IDs that participated in the call

Call.endedTimestamp  :: DateTime

When the call ended, stored as a DateTime object

Call : sync ( callData )  -> ()

Responsible for syncing data to this call object. This is typically called by the API when this object is created or updated.

Parameters

callData: MessageCallObject
Call . new ( callData )  -> Call

Responsible for constructing this class.

Parameters

callData: MessageCallObject

Returns

Call