encode method

Implementation

int encode(CommentThreadDeletionMode data) => data.value;