asafespace/utilities.py
def extract_sticker_id(body):
    """
    Obtains the sticker ID from the event body

    Parameters
    ----------
    body: dic
        Body of webhook event
    
    Returns
    -------
    str
        file_id of sticker
    """

    file_id = body["message"]["sticker"]["file_id"]
    return file_id

    Obtains the sticker ID from the event body

    Parameters
    ----------
    body: dic
        Body of webhook event
    
    Returns
    -------
    str
        file_id of sticker
    
Obtains the sticker ID from the event body
Parameters

dic
Body of webhook event

Returns

str
file_id of sticker
Obtains the sticker ID from the event body Parameters dic Body of webhook event Returns str file_id of sticker
def extract_sticker_id(body):
    file_id = body["message"]["sticker"]["file_id"]
    return file_id
def extract_sticker_id ( body ) : file_id = body [ "message" ] [ "sticker" ] [ "file_id" ] return file_id
Obtains the sticker ID from the event body
Parameters
Obtains the sticker ID from the event body Parameters
"""
    Obtains the sticker ID from the event body

    Parameters
    ----------
    body: dic
        Body of webhook event
    
    Returns
    -------
    str
        file_id of sticker
    """
body