libraries/botbuilder-core/botbuilder/core/card_factory.py
def thumbnail_card(card: ThumbnailCard) -> Attachment:
        """
        Returns an attachment for a thumbnail card. Thumbnail cards are similar to
        but instead of a full width image, they're typically rendered with a smaller thumbnail version of
        the image on either side and the text will be rendered in column next to the image. Any buttons
        will typically show up under the card. Will raise a TypeError if 'card' argument is not a ThumbnailCard.
        :param card:
        :return:
        """
        if not isinstance(card, ThumbnailCard):
            raise TypeError('CardFactory.thumbnail_card(): `card` argument is not an instance of an ThumbnailCard, '
                            'unable to prepare attachment.')

        return Attachment(content_type=CardFactory.content_types.thumbnail_card,
                          content=card)
def thumbnail_card(card: ThumbnailCard) -> Attachment:
        """
        Returns an attachment for a thumbnail card. Thumbnail cards are similar to
        but instead of a full width image, they're typically rendered with a smaller thumbnail version of
        the image on either side and the text will be rendered in column next to the image. Any buttons
        will typically show up under the card. Will raise a TypeError if 'card' argument is not a ThumbnailCard.
        :param card:
        :return:
        """
        if not isinstance(card, ThumbnailCard):
            raise TypeError('CardFactory.thumbnail_card(): `card` argument is not an instance of an ThumbnailCard, '
                            'unable to prepare attachment.')

        return Attachment(content_type=CardFactory.content_types.thumbnail_card,
                          content=card)
Returns an attachment for a thumbnail card. Thumbnail cards are similar to
        but instead of a full width image, they're typically rendered with a smaller thumbnail version of
        the image on either side and the text will be rendered in column next to the image. Any buttons
        will typically show up under the card. Will raise a TypeError if 'card' argument is not a ThumbnailCard.
        :param card:
        :return: