跳到主要内容

Update sticker pack

PUT 

/bv/chatroom/v1/stickerpacks/:id

Updates a specified 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.

Header Parameters

    authorization string

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

Body

required
    name stringrequired

    Required. The name of sticker pack to be updated.

Responses

A successful response.

Schema
    sticker_pack object
    id string

    Output only. The uuid of the sticker pack.

    name stringrequired

    Required. The name of the sticker pack.

    default boolean

    Output only. Indicates it'll be or it was a default sticker pack that can not be modified or deleted.

    count int32

    Output only. Indicates the total count of the stickers in the sticker pack.

    cover_image object

    Output only. The cover image of the sticker pack.

    id string

    Output only. The unique id of the image.

    name string

    Output only. The name of the image.

    size_in_bytes int64

    Output only. 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...