docs: document lastMessageID for TextChannel and (Group)DMChannel (#2602)

* Adds JSDocs for TextChannel.lastMessageID

* oops

* docs: document lastMessageID in (Group)DMChannel as well
This commit is contained in:
reeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
2018-06-16 21:10:24 +01:00
committed by SpaceEEC
parent 037e8cf969
commit e7eab427e5
3 changed files with 12 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ class DMChannel extends Channel {
*/
this.recipient = this.client.users.add(data.recipients[0]);
/**
* The ID of the last message in the channel, if one was sent
* @type {?Snowflake}
*/
this.lastMessageID = data.last_message_id;
}