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