Class AbstractAnimationForwarder
java.lang.Object
io.github.yvasyliev.telegramforwarderbot.reddit.service.forwarder.AbstractAnimationForwarder
- All Implemented Interfaces:
Forwarder
- Direct Known Subclasses:
ImageAnimationForwarder,VideoAnimationForwarder
Abstract class for forwarding animations.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractAnimationForwarder
public AbstractAnimationForwarder()
-
-
Method Details
-
forward
public void forward(Link link) throws IOException, org.telegram.telegrambots.meta.exceptions.TelegramApiException Description copied from interface:ForwarderForwards the specified link.- Specified by:
forwardin interfaceForwarder- Parameters:
link- the link to forward- Throws:
IOException- if an I/O error occurs during forwardingorg.telegram.telegrambots.meta.exceptions.TelegramApiException- if a Telegram API error occurs during forwarding
-
getUrl
-