SetStickerPositionInSet

public struct SetStickerPositionInSet : Codable, Equatable, TDFunction

Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Sticker

    Declaration

    Swift

    public let sticker: InputFile
  • New position of the sticker in the set, zero-based

    Declaration

    Swift

    public let position: Int32
  • Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot

    Declaration

    Swift

    public init(sticker: InputFile, position: Int32)

    Parameters

    sticker

    Sticker

    position

    New position of the sticker in the set, zero-based