Skip to content

getInstalledStickerSets

Sahri Riza Umami edited this page Sep 13, 2017 · 4 revisions

Returns list of installed sticker sets.

getInstalledStickerSets(is_masks)
Field Type Description
is_masks Bool Pass true to return mask sticker sets, pass false to return ordinary sticker sets

Example

  • Get list of installed sticker sets.
getInstalledStickerSets(0)

Response:

{
  _ = "stickerSets",
  sets = {
    [0] = {
      _ = "stickerSetInfo",
      covers = {
        [0] = {
          _ = "sticker",
          emoji = "💪",
          height = 512,
          is_mask = false,
          set_id = "1842540969984001",
          sticker = {
            _ = "file",
            id = 328,
            is_being_downloaded = false,
            is_being_uploaded = false,
            local_size = 0,
            path = "",
            persistent_id = "CAADBQADHAADyIsGAAFzjQavel2uswI",
            remote_size = 39518,
            size = 39518
          },
          thumb = {
            _ = "photoSize",
            height = 128,
            photo = {
              _ = "file",
              id = 327,
              is_being_downloaded = false,
              is_being_uploaded = false,
              local_size = 0,
              path = "",
              persistent_id = "AAQFABPqybEyAAQaWJTvHDbijg04AQABAg",
              remote_size = 6204,
              size = 6204
            },
            type = "m",
            width = 127
          },
          width = 510
        }
      },
      id = "1842540969984001",
      is_archived = false,
      is_installed = true,
      is_masks = false,
      is_official = true,
      is_viewed = true,
      name = "TelegramGreatMinds",
      size = 50,
      title = "Great Minds"
    }
  },
  total_count = 1
}

Frequently Asked Questions
The Functions

Clone this wiki locally