Skip to content

getStickers

Sahri Riza Umami edited this page Jul 7, 2017 · 4 revisions

Returns stickers corresponding to given emoji.

getStickers(emoji)
Option Description
emoji String representation of emoji. If empty, returns all known stickers.

Example

  • Returns stickers corresponding to 😂 emoji.

    getStickers('😂')

    Response:

    {
      ID = "Stickers",
      stickers_ = {
        [0] = {
          ID = "Sticker",
          emoji_ = "😂",
          height_ = 512,
          is_mask_ = false,
          mask_position_ = false,
          set_id_ = "1842540969984001",
          sticker_ = {
            ID = "File",
            id_ = 110,
            path_ = false,
            persistent_id_ = "CAADBQADPwADyIsGAAGI1S2AmQ002AI",
            size_ = 36976
          },
          thumb_ = {
            ID = "PhotoSize",
            height_ = 128,
            photo_ = {
              ID = "File",
              id_ = 111,
              path_ = false,
              persistent_id_ = "AAQFABNhzbEyAARdt_iQhBJLoRk4AQABAg",
              size_ = 5484
            },
            type_ = "m",
            width_ = 78
          },
          width_ = 314
        }
      }
    }

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally