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

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

There is a newer version: 1.5.2
Show newest version
package dev.struchkov.godfather.telegram.simple.context.service;

import dev.struchkov.godfather.telegram.domain.ChatAction;
import dev.struchkov.godfather.telegram.domain.ClientBotCommand;
import org.jetbrains.annotations.NotNull;

import java.util.Collection;

public interface TelegramService {

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

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

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

    void addCommand(@NotNull Collection botCommands);

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy