Skip to main content

CreateCommentMediaInput

CreateCommentMediaInput is used for creating media to be attached to a Comment.

input CreateCommentMediaInput {
type: String!
id: String
url: String!
width: String
height: String
}

Fields

CreateCommentMediaInput.type ● String! non-null scalar

type specifies the type of media that can be attached. Valid values for this are: giphy, external, twitter, and youtube.

CreateCommentMediaInput.id ● String scalar

id refers to a foreign id for the specific media provider.

CreateCommentMediaInput.url ● String! non-null scalar

url is the URL to the media resource.

CreateCommentMediaInput.width ● String scalar

width is the width to the media resource.

CreateCommentMediaInput.height ● String scalar

height is the height to the media resource.

Member Of

CreateCommentInput input ● CreateCommentReplyInput input ● EditCommentInput input