Class MatchedUrl

java.lang.Object
io.micronaut.chatbots.google.api.MatchedUrl

public class MatchedUrl extends Object
A matched url in a Chat message. Chat apps can preview matched URLs. For more information, refer to Preview links.
Since:
1.0.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • MatchedUrl

      public MatchedUrl()
  • Method Details

    • getUrl

      @NonNull public @NonNull String getUrl()
      Returns:
      The url that was matched.
    • setUrl

      public void setUrl(@NonNull @NonNull String url)
      Parameters:
      url - The url that was matched.