final case class CreateNewStickerSet(userId: Int, name: String, title: String, pngSticker: InputFile, emojis: String, containsMasks: Option[Boolean] = None, maskPosition: Option[MaskPosition] = None) extends Product with Serializable
Use this method to create new sticker set owned by a user. The bot will be able to edit the created sticker set.
Returns True on success.
- userId
User identifier of created sticker set owner
- name
Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english letters, digits and underscores. Must begin with a letter. Can't contain consecutive underscores and must end in “_by_<bot username>”. <bot_username> is case insensitive. 1-64 characters.
- title
Sticker set title, 1-64 characters
- pngSticker
Sticker file (can be existing Telegram file or new one in .png format)
- emojis
One or more emoji corresponding to the sticker
- containsMasks
Pass True, if a set of mask stickers should be created
- maskPosition
Position where the mask should be placed on faces
- Alphabetic
- By Inheritance
- CreateNewStickerSet
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CreateNewStickerSet(userId: Int, name: String, title: String, pngSticker: InputFile, emojis: String, containsMasks: Option[Boolean] = None, maskPosition: Option[MaskPosition] = None)
- userId
User identifier of created sticker set owner
- name
Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english letters, digits and underscores. Must begin with a letter. Can't contain consecutive underscores and must end in “_by_<bot username>”. <bot_username> is case insensitive. 1-64 characters.
- title
Sticker set title, 1-64 characters
- pngSticker
Sticker file (can be existing Telegram file or new one in .png format)
- emojis
One or more emoji corresponding to the sticker
- containsMasks
Pass True, if a set of mask stickers should be created
- maskPosition
Position where the mask should be placed on faces
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val containsMasks: Option[Boolean]
- val emojis: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maskPosition: Option[MaskPosition]
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pngSticker: InputFile
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: String
- val userId: Int
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()