org.telegram.bot.kernel.database.DatabaseManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegramapi Show documentation
Show all versions of telegramapi Show documentation
Java library to create Telegram Clients
package org.telegram.bot.kernel.database;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.telegram.bot.structure.Chat;
import org.telegram.bot.structure.IUser;
import java.util.Map;
/**
* @author Ruben Bermudez
* @version 1.0
* @brief TODO
* @date 11 of April of 2016
*/
public interface DatabaseManager {
@Nullable Chat getChatById(int chatId);
@Nullable IUser getUserById(int userId);
@NotNull Map getDifferencesData();
boolean updateDifferencesData(int botId, int pts, int date, int seq);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy