CallbackQueryPayload

public indirect enum CallbackQueryPayload : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum

Represents a payload of a callback query

  • The payload from a general callback button

    • data: Data that was attached to the callback button

    Declaration

    Swift

    case data(data: Bytes)
  • The payload from a game callback button

    • gameShortName: A short name of the game that was attached to the callback button

    Declaration

    Swift

    case game(gameShortName: String)