libraries/botbuilder-core/botbuilder/core/turn_context.py
def get_conversation_reference(activity: Activity) -> ConversationReference:
        """
        Returns the conversation reference for an activity. This can be saved as a plain old JSON
        object and then later used to message the user proactively.

        Usage Example:
        reference = TurnContext.get_conversation_reference(context.request)
        :param activity:
        :return:
        """
        return ConversationReference(activity_id=activity.id,
                                     user=copy(activity.from_property),
                                     bot=copy(activity.recipient),
                                     conversation=copy(activity.conversation),
                                     channel_id=activity.channel_id,
                                     service_url=activity.service_url)
def get_conversation_reference(activity: Activity) -> ConversationReference:
        return ConversationReference(activity_id=activity.id,
                                     user=copy(activity.from_property),
                                     bot=copy(activity.recipient),
                                     conversation=copy(activity.conversation),
                                     channel_id=activity.channel_id,
                                     service_url=activity.service_url)
def get_conversation_reference ( activity : Activity ) -> ConversationReference : return ConversationReference ( activity_id = activity . id , user = copy ( activity . from_property ) , bot = copy ( activity . recipient ) , conversation = copy ( activity . conversation ) , channel_id = activity . channel_id , service_url = activity . service_url )
Returns the conversation reference for an activity. This can be saved as a plain old JSON
        object and then later used to message the user proactively.

        Usage Example:
        reference = TurnContext.get_conversation_reference(context.request)
        :param activity:
        :return:
Returns the conversation reference for an activity . This can be saved as a plain old JSON object and then later used to message the user proactively .