lib/tdlib/client_methods.rb
# Creates a new sticker set.
# Returns the newly created sticker set.
#
# @param user_id [Integer, nil] Sticker set owner; ignored for regular users.
# @param title [TD::Types::String, nil] Sticker set title; 1-64 characters.
# @param name [TD::Types::String, nil] Sticker set name.
#   Can contain only English letters, digits and underscores.
#   Must end with *"_by_<bot username>"* (*<bot_username>* is case insensitive) for bots; 1-64 characters.
# @param stickers [Array<TD::Types::InputSticker>] List of stickers to be added to the set; must be non-empty.
#   All stickers must have the same format.
#   For TGS stickers, uploadStickerFile must be used before the sticker is shown.
# @param source [TD::Types::String, nil] Source of the sticker set; may be empty if unknown.
# @return [TD::Types::StickerSet]
Creates a new sticker set.
Returns the newly created sticker set.
Creates a new sticker set . Returns the newly created sticker set .
def create_new_sticker_set(user_id: nil, title: nil, name: nil, stickers:, source: nil)
    broadcast('@type'    => 'createNewStickerSet',
              'user_id'  => user_id,
              'title'    => title,
              'name'     => name,
              'stickers' => stickers,
              'source'   => source)
  end
def create_new_sticker_set ( user_id : nil , title : nil , name : nil , stickers : , source : nil ) broadcast ( '@type' => 'createNewStickerSet' , 'user_id' => user_id , 'title' => title , 'name' => name , 'stickers' => stickers , 'source' => source ) end
Creates a new sticker set.
Creates a new sticker set .
None
TD::Types::StickerSet
user_id
Sticker set owner; ignored for regular users.
Sticker set owner ; ignored for regular users .
title
Sticker set title; 1-64 characters.
Sticker set title ; 1 - 64 characters .
name
Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 1-64 characters.
Sticker set name . Can contain only English letters digits and underscores . Must end with * " _by_ " * ( ** is case insensitive ) for bots ; 1 - 64 characters .
stickers
List of stickers to be added to the set; must be non-empty. All stickers must have the same format. For TGS stickers, uploadStickerFile must be used before the sticker is shown.
List of stickers to be added to the set ; must be non - empty . All stickers must have the same format . For TGS stickers uploadStickerFile must be used before the sticker is shown .
source
Source of the sticker set; may be empty if unknown.
Source of the sticker set ; may be empty if unknown .