CreateNewStickerSet
public struct CreateNewStickerSet : Codable, Equatable, TDFunction
Creates a new sticker set; for bots only. Returns the newly created sticker set
-
Undocumented
Declaration
Swift
public typealias Result = StickerSet
-
Sticker set owner
Declaration
Swift
public let userId: Int32
-
Sticker set title; 1-64 characters
Declaration
Swift
public let title: String
-
Sticker set name. Can contain only English letters, digits and underscores. Must end with “by
” (is case insensitive); 1-64 characters Declaration
Swift
public let name: String
-
True, if stickers are masks
Declaration
Swift
public let isMasks: Bool
-
List of stickers to be added to the set
Declaration
Swift
public let stickers: [InputSticker]
-
Creates a new sticker set; for bots only. Returns the newly created sticker set
Declaration
Swift
public init(userId: Int32, title: String, name: String, isMasks: Bool, stickers: [InputSticker])
Parameters
userId
Sticker set owner
title
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); 1-64 characters isMasks
True, if stickers are masks
stickers
List of stickers to be added to the set