shareToStory abstract method

void shareToStory(
  1. String mediaUrl, {
  2. StoryShareParams? params,
})

Bot API 7.8+ A method that opens the native story editor with the media specified in the media_url parameter as an HTTPS URL. An optional params argument of the type StoryShareParams describes additional sharing settings.

Implementation

void shareToStory(
  String mediaUrl, {
  StoryShareParams? params,
});