Skip to main content

Update sticker in the sticker pack

PUT 

/bv/chatroom/v1/stickerpacks/:id/stickers/:sticker_id

Updates a specified sticker in the sticker pack. Authorization requires either the chatroom token with admin role or the sticker token.

Request

Path Parameters

    id stringrequired

    Required. The unique id of the sticker pack.

    sticker_id stringrequired

    Required. The unique id of the sticker.

Header Parameters

    authorization string

    This API should be invoked with the chatroom token or sticker token.

Body

required
    name string

    Required. The name of the sticker.

Responses

A successful response.

Schema
    sticker object
    id string

    Output only. The uuid of the sticker.

    name string

    Optional. The name of the sticker.

    image objectrequired

    Required.

    id string

    Output only. The unique id of the image.

    name stringrequired

    Required. The name of the image.

    size_in_bytes int64required

    Required. Immutable. The size of image in bytes.

    format string

    Possible values: [IMAGE_FORMAT_PNG, IMAGE_FORMAT_JPEG, IMAGE_FORMAT_GIF]

    Output only. The format of the image.

    thumbnails object[]

    Output only.

  • Array [
  • uri string

    Output only. Indicates the URI of the image that the browser could be rendered.

    width int32

    Output only. Indicates the width of the image.

    height int32

    Output only. Indicates the height of the image.

  • ]
  • created_at date-time

    Output only. Indicates the time that the sticker pack created.

    updated_at date-time

    Output only. Indicates the time that the sticker pack last updated.

Loading...