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
userIdSticker set owner
titleSticker set title; 1-64 characters
nameSticker set name. Can contain only English letters, digits and underscores. Must end with “by
” (is case insensitive); 1-64 characters isMasksTrue, if stickers are masks
stickersList of stickers to be added to the set
View on GitHub
Install in Dash
CreateNewStickerSet Structure Reference