lib/tdlib/client_methods.rb
# Manually adds a new sticker to the list of recently used stickers.
# The new sticker is added to the top of the list.
# If the sticker was already in the list, it is removed from the list first.
# Only stickers belonging to a sticker set can be added to this list.
#
# @param is_attached [Boolean] Pass true to add the sticker to the list of stickers recently attached to photo or
#   video files; pass false to add the sticker to the list of recently sent stickers.
# @param sticker [TD::Types::InputFile] Sticker file to add.
# @return [TD::Types::Stickers]
Manually adds a new sticker to the list of recently used stickers.
The new sticker is added to the top of the list.
If the sticker was already in the list, it is removed from the list first.
Only stickers belonging to a sticker set can be added to this list.
Manually adds a new sticker to the list of recently used stickers . The new sticker is added to the top of the list . If the sticker was already in the list it is removed from the list first . Only stickers belonging to a sticker set can be added to this list .
def add_recent_sticker(is_attached:, sticker:)
    broadcast('@type'       => 'addRecentSticker',
              'is_attached' => is_attached,
              'sticker'     => sticker)
  end
def add_recent_sticker ( is_attached : , sticker : ) broadcast ( '@type' => 'addRecentSticker' , 'is_attached' => is_attached , 'sticker' => sticker ) end
Manually adds a new sticker to the list of recently used stickers.
Manually adds a new sticker to the list of recently used stickers .
None
TD::Types::Stickers
is_attached
Pass true to add the sticker to the list of stickers recently attached to photo or video files; pass false to add the sticker to the list of recently sent stickers.
Pass true to add the sticker to the list of stickers recently attached to photo or video files ; pass false to add the sticker to the list of recently sent stickers .
sticker
Sticker file to add.
Sticker file to add .