[youtubei.js](../../../README.md) / [ProtoUtils](../README.md) / encodeCommentActionParams # Function: encodeCommentActionParams() > **encodeCommentActionParams**(`type`, `args`): `string` ## Parameters • **type**: `number` • **args** = `{}` • **args.comment\_id?**: `string` • **args.target\_language?**: `string` • **args.text?**: `string` • **args.video\_id?**: `string` ## Returns `string` ## Defined in [src/utils/ProtoUtils.ts:14](https://github.com/LuanRT/YouTube.js/blob/305a398158a6cac82e6ef288fed4bf1661c89d52/src/utils/ProtoUtils.ts#L14)