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