[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/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/utils/ProtoUtils.ts#L20)