Skip to content

Commit 8270160

Browse files
committed
Better docs
1 parent f84f923 commit 8270160

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rights. Don't change the description—the bot stores key data there.
55

66
## Download
77

8-
You need Gradle, or Maven, or other build tool
8+
You need Gradle, Maven, or another build tool
99

1010
[![](https://jitpack.io/v/demidko/telegram-storage.svg)](https://jitpack.io/#demidko/telegram-storage)
1111

@@ -29,8 +29,8 @@ import com.github.demidko.telegram.TelegramStorage.Constructors.newTelegramStora
2929
data class Person(val name: String, val address: String)
3030

3131
fun main() {
32-
val token = "Example Telegram Bot API access token"
33-
val channel = "Example channel name" // or can be numeric id here
32+
val token = "Bot API token here"
33+
val channel = "Telegram channel name here"
3434
val storage = newTelegramStorage<Int, Person>(token, channel)
3535

3636
storage[2] = Person("Elon Musk", "Texas") // saved to Telegram channel

0 commit comments

Comments
 (0)