summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/mt_proto.cpp
blob: 8d7b0123e552c71efd04b0799bd746d51a133226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "stdafx.h"

CMTProto::CMTProto(const char* protoName, const wchar_t* userName) :
	PROTO<CMTProto>(protoName, userName),
	client_manager_(std::make_unique<td::ClientManager>())
{
}

CMTProto::~CMTProto()
{
}

INT_PTR CMTProto::GetCaps(int type, MCONTACT)
{
	switch (type) {
	case PFLAG_UNIQUEIDTEXT:
		return (INT_PTR)"Phone";
	}
	return 0;
}

int CMTProto::SetStatus(int iNewStatus)
{
	return 0;
}