gifts/GiftPremiumSubscription.java

TelegramBots · telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/methods/gifts/GiftPremiumSubscription.java · java · MIT
ai, tag:knn-classified

Data model representing the Telegram API method to gift a Premium subscription, with validation and serialization.

// Source: https://github.com/rubenlagus/TelegramBots | License: MIT | Copyright 2016 Ruben Bermudez
// Provided via justclaw.it.com; keep this notice with the code.
package org.telegram.telegrambots.meta.api.methods.gifts;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.Singular;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import lombok.extern.jackson.Jacksonized;
import org.telegram.telegrambots.meta.api.methods.botapimethods.BotApiMethodBoolean;
import org.telegr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key