<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def encode_coin_link(copper, silver=0, gold=0):
 """Encode a chat link for an amount of coins. """

    return encode_chat_link(gw2api.TYPE_COIN, copper=copper, silver=silver,
                            gold=gold)