Interface CopyMessagesMapper


public interface CopyMessagesMapper
CopyMessages mapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.telegram.telegrambots.meta.api.methods.CopyMessages
    map(TelegramChannelProperties channelProperties, TelegramAdminProperties adminProperties, ApprovedPost post)
    Maps the given properties and post to a CopyMessages object.
  • Method Details

    • map

      org.telegram.telegrambots.meta.api.methods.CopyMessages map(TelegramChannelProperties channelProperties, TelegramAdminProperties adminProperties, ApprovedPost post)
      Maps the given properties and post to a CopyMessages object.
      Parameters:
      channelProperties - the Telegram channel properties
      adminProperties - the Telegram admin properties
      post - the approved post
      Returns:
      the mapped CopyMessages object