Telegram5 v10.6.2版本的 MD5 值为:423cae39e902ed9dd2cc7f4b4547b276
以下内容为反编译后的 ChannelBoostUtilities.java 源代码,内容仅作参考
package org.telegram.ui.Stories;
import android.text.TextUtils;
import org.telegram.messenger.ChatObject;
import org.telegram.messenger.MessagesController;
import org.telegram.tgnet.TLRPC$Chat;
public class ChannelBoostUtilities {
public static String createLink(int i, long j) {
long j2 = -j;
TLRPC$Chat chat = MessagesController.getInstance(i).getChat(Long.valueOf(j2));
if (!TextUtils.isEmpty(ChatObject.getPublicUsername(chat))) {
return "https://t.me/" + ChatObject.getPublicUsername(chat) + "?boost";
}
return "https://t.me/c/" + j2 + "?boost";
}
}