Message.get_media_group()

Message.get_media_group()

Shortcut for method get_media_group will automatically fill method attributes:

  • chat_id

  • message_id

Returns:

List of Message – On success, a list of messages of the media group is returned.

Raises:

ValueError – In case the passed message id doesn’t belong to a media group.