All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.struchkov.godfather.telegram.quarkus.context.service.TelegramService Maven / Gradle / Ivy

The newest version!
package dev.struchkov.godfather.telegram.quarkus.context.service;

import dev.struchkov.godfather.telegram.domain.ChatAction;
import dev.struchkov.godfather.telegram.domain.ClientBotCommand;
import io.smallrye.mutiny.Uni;
import org.jetbrains.annotations.NotNull;

import java.util.Collection;

public interface TelegramService {

    Uni executeAction(@NotNull String personId, ChatAction chatAction);

    Uni pinMessage(@NotNull String personId, @NotNull String messageId);

    Uni unPinMessage(@NotNull String personId, @NotNull String messageId);

    Uni addCommand(@NotNull Collection botCommands);

    Uni checkChatMember(@NotNull String personId, @NotNull String chatIdOrChannelId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy