[youtubei.js](../../../README.md) / [ProtoUtils](../README.md) / encodeCommentActionParams # Function: encodeCommentActionParams() > **encodeCommentActionParams**(`type`, `args`): `string` ## Parameters • **type**: `number` • **args**: [`CommentActionParamsArgs`](../type-aliases/CommentActionParamsArgs.md) = `{}` ## Returns `string` ## Defined in [src/utils/ProtoUtils.ts:20](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/utils/ProtoUtils.ts#L20)