libraries/botbuilder-core/botbuilder/core/card_factory.py
def video_card(card: VideoCard) -> Attachment:
        """
        Returns an attachment for a video card. Will raise a TypeError if 'card' argument is not a VideoCard.
        :param card:
        :return:
        """
        if not isinstance(card, VideoCard):
            raise TypeError('CardFactory.video_card(): `card` argument is not an instance of an VideoCard, '
                            'unable to prepare attachment.')

        return Attachment(content_type=CardFactory.content_types.video_card,
                          content=card)
def video_card(card: VideoCard) -> Attachment:
        """
        Returns an attachment for a video card. Will raise a TypeError if 'card' argument is not a VideoCard.
        :param card:
        :return:
        """
        if not isinstance(card, VideoCard):
            raise TypeError('CardFactory.video_card(): `card` argument is not an instance of an VideoCard, '
                            'unable to prepare attachment.')

        return Attachment(content_type=CardFactory.content_types.video_card,
                          content=card)
Returns an attachment for a video card. Will raise a TypeError if 'card' argument is not a VideoCard.
        :param card:
        :return: