/// <summary> /// Returns a string that represents the image URL of an <see cref="IDblWidget"/>. /// </summary> /// <param name="id">The unique identifier of the bot to build a widget for.</param> /// <param name="format">The image format that this <see cref="IDblWidget"/> will be built for.</param> /// <returns>An image URL representing a widget.</returns> public string ToString(ulong id, WidgetImageFormat format = WidgetImageFormat.Svg) => DblApi.GetWidgetUrl(id, Type, format, AvatarBackgroundColor, LeftColor, RightColor, LeftTextColor, RightTextColor, UseAvatar ?? true);
/// <summary> /// Returns a string that represents the image URL of an <see cref="IDblWidget"/>. /// </summary> /// <param name="id">The unique identifier of the bot to build a widget for.</param> /// <param name="format">The image format that this <see cref="IDblWidget"/> will be built for.</param> /// <returns>An image URL representing a widget.</returns> public string ToString(ulong id, WidgetImageFormat format = WidgetImageFormat.Svg) => DblApi.GetWidgetUrl(id, format, TopColor, MiddleColor, UsernameColor, CertifiedColor, DataColor, LabelColor, HighlightColor);